image.Resize rotates image

I tried the solution in this thread but was running into an error: ...error calling Exif: metadata init failed: loading EXIF sub-IFD: exif: sub-IFD ExifIFDPointer decode failed: zero length tag value. even when running with with statements :

{{ with $res }}
{{ with .Exif }}
{{ . }}
{{ end }}
{{ end }}

Is there a way to force this to ignore gracefully?