-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using "with" in conjunction with .Exif produces runtime error for PNG images #7688
Comments
See my comment in the forum. |
The nested
See layouts/shortcodes/list-image-descriptions.html |
Pushed minimal failing example again to fix comment syntax. |
OK, a PNG image, yes then I think I understand. |
E.g. PNG files. Fixes gohugoio#7688
E.g. PNG files. Fixes gohugoio#7688
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes.
Background
The documentation and this forum topic suggest using
with
to avoid errors when attempting to read EXIF data while ranging through a directory of images that contains one or more PNG files. Hugo's ability to read EXIF data is limited to the JPEG and TIFF formats.Problem
Using this approach results in "error calling Exif: runtime error: invalid memory address or nil pointer dereference."
To reproduce the problem:
I will post a minimal failing example shortly.
The text was updated successfully, but these errors were encountered: