.Exif
can return nil
even for “real images”. Exif is only JPG and TiFF, and even there you may have had software that have removed the Exif data.
I suggest you do this:
{{ with $img.Exif }}
{{ end }}
.Exif
can return nil
even for “real images”. Exif is only JPG and TiFF, and even there you may have had software that have removed the Exif data.
I suggest you do this:
{{ with $img.Exif }}
{{ end }}