News for hackers. Stuff that matters.
Re:Instagram now forces people to sign in to view public pro... by xwdv on Tuesday October 29, 2019 @06:28AM (#21385595)
> then I tried making my own image gallery and I learned that browsers do not honor the JPEG rotation EXIF data and I don't want to write my own rotation/cropping code

This just sounds like an excuse to yourself. It’s not hard to deal with this just strip out the EXIF data and bake the rotation into your images on upload. Problem solved, though I don’t know your experience level.

Re:Instagram now forces people to sign in to view public pro... by twic on Tuesday October 29, 2019 @09:26AM (#21386825)
Or even just detect the rotation tag, leave the image untouched, and rotate it in CSS.
Re:Instagram now forces people to sign in to view public pro... by xwdv on Tuesday October 29, 2019 @09:51AM (#21387119)
Too many edge cases I’d say.

Images really shouldn’t be stored anyway with rotation data in the EXIF. By pre rotating it you normalize and make it ready to use in any context.

The EXIF should be stripped out and used for other sorts of analytics.