Skip to content
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

Support Exif orientation #9

Open
SaGuse opened this issue Dec 19, 2022 · 3 comments
Open

Support Exif orientation #9

SaGuse opened this issue Dec 19, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@SaGuse
Copy link

SaGuse commented Dec 19, 2022

in my gallery i have 50 images take by andorid an iphone cameras

the gallery works great and create the thumbnails for the website, but the most thumbnails are coming with the wrong orientation

on the same image the thumbnail is always the same error, that means, i cleared the cache and rebuild the project, but an image with a wrong thumbnail orientation of 90 or 180 degrees, always had the same error

the large image of an "wrong" thumbnail, comes in the correct orientation

in the code i see, that the orientation is calculated from the exif x and y dimensions, but if i analyze my images, the dimensions looking fine

@bep bep changed the title Wrong orientation of thumbnails Support Exif orientation Dec 19, 2022
@bep
Copy link
Owner

bep commented Dec 19, 2022

Yea, that's mostly a limitation in Hugo upstream (it is possible to fix in the current Hugo, but it's a little involved), which hasn't been a priority for me to fix because my photo workflow always includes a processing step (Lightroom).

@bep bep added duplicate This issue or pull request already exists enhancement New feature or request labels Dec 19, 2022
@SaGuse
Copy link
Author

SaGuse commented Dec 19, 2022

Thanks for the answer, instead of taking the images from the smartphone, I will adjust the workflow and also use lightroom.

@bep bep removed the duplicate This issue or pull request already exists label Dec 27, 2022
@iHarshad
Copy link

Even I am facing the same thumbnail issue where the thumbnails of some images don't have the right orientation. Could someone share some details on what needs to be edited or added to the image EXIF data via Lightroom to fix this?

I could then update the documentation mentioning this as a known bug with a workaround for the same, and share a PR.

PS: I am us using bep/galleriesdeluxe which uses this repo as a module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants