@joebell can you provide some example or reference to this happening?
(I don’t recall seeing it in the wild)
Thanks!
Thanks for the response! It’s happening in a private project so I’ll spin up a small repro and send over in the coming days
What I can say in the meantime is that:
- It only happens to JPEGs
- It only happens on a resize bigger than
&w=1134(anything lower than this and the issue doesn’t occur) - It only happens in Netlify deployments, not locally
Thanks!
Looking forward to a repro.
I’ve found some older internal discussion where someone hinted that rotation data is sometimes provided in the image file’s EXIF metadata, and compression should take it into account - but it’s hard to say if this is related to your case without a repro.
Thanks! So I’ve been doing a little testing and I’ve managed to narrow down the issue to the EXIF data:
- If
Orientationis set toHorizontal (normal)then there’s no issue - If
Orientationis set toRotate 90 CWthen this is where the issue seems to occur
Unfortunately I’m having a hard time recreating these images with the same EXIF data (these images aren’t publicly shareable) so I can’t send over a repro your way
Given that this is a fairly niche problem, I’ll go ahead and amend the EXIF of my source images myself! Hope this helps anyone else who runs into the same issue
Thanks again for your help @elad.rosenheim ![]()