Closed CallMeL closed 8 months ago
Thanks @CallMeL, glad you like the theme! I'm not sure if Hugo can process TIFF tags at all, could you send me an example photo where this occurs?
Thanks for the example! After short investigation I found out that the Orientation tag is not read at all in the example, because it was missing in the includeFields
.
Could you change your hugo.toml
and add the Orientation
entry to includeFields
?
[imaging]
quality = 75
resampleFilter = "CatmullRom"
[imaging.exif]
disableDate = false
disableLatLong = true
+ includeFields = "ImageDescription|Orientation"
This way the Orientation field is read from the images and used for rotation.
There is another way to achieve this without needing to include this field, but that would require at least Hugo v0.121.2. I may use this more elegant way in a future version (#51).
Thank you for the quick reply, it solved my problem perfectly!
Hi Nico, thank you for this brilliant work.
I was trying to add photos I took using a camera, but all the photos stay horizontal despite the orientation tags in TIFF is 6, do I need to write it specifically in Exif tag? Is there any chance to read the information in TIFF tag?
Edited: in the general tag the orientation is also 6, I didn't find the orientation row in Exif tag
Thanks again!