Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Image rotated when viewing feed #7

Closed
wingardl opened this issue Oct 15, 2022 · 3 comments
Closed

Image rotated when viewing feed #7

wingardl opened this issue Oct 15, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@wingardl
Copy link

wingardl commented Oct 15, 2022

First, wanted to thank you for making this great theme!

For 2 of the posts in my feed, the thumbnail image is rotated in the feed (but not when I actually click the post). Visible at https://www.lucywingard.com/portfolio/ . I'm using the same code for these rotated posts as I am for the rest of my posts, and the images are the same size as images in my other posts (just standard phone camera images).

Any idea why they might be showing up rotated in the feed? Here's my code https://github.com/wingardl/wingardl.github.io/tree/main/content/portfolio/flower_vase
(fyi saw this both when I had multipleColumn: true and multipleColumn: false for the same 2 posts)

@boratanrikulu boratanrikulu added the bug Something isn't working label Oct 15, 2022
@boratanrikulu
Copy link
Owner

Hi @wingardl!

It's good to hear you liked the theme!
About the rotated thumbnails; it's caused by resizing. I checked it a bit and seems Hugo removes all EXIF data when we resize the image, and seems Orientation EXIF value is Top-Right for the images you mentioned. (Other images have Top-Left),

{{ $img = $img.Resize "1000x" }}

I'll check a proper way to solve this problem.

Also, your ceramics are so pretty!

@boratanrikulu
Copy link
Owner

@wingardl It should be okay with 1.3.2 version, please check (you may just merge this pr, wingardl/wingardl.github.io#1)

@CAinDE
Copy link

CAinDE commented Mar 21, 2023

Hi there, I think I'm having the same issue, not sure how to fix it though :/

https://welbornmetal.com/furniture/shoe_rack_2/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants