Common image uploads sizes cropped


(Dean Taylor) #1

It’s very typical for users to upload images which are screenshots taken on mobile.

Currently the recent changes prevent these mobile screenshots from displaying in a reasonable way.

Cropping to the top of the image is undesirable, unexpected and considered “broken” by users.

Expected

Actual

Sample image here on meta

Additional notes

Please also consider adding a visual indicator on the smaller image when it has been cropped.


(Régis Hanol) #2

I noticed this earlier today and just pushed a fix :wink:


I’m open for suggestions :wink:


(cpradio) #3

Maybe the crop font-awesome icon?
http://fontawesome.io/icon/crop/

I’m just unsure if you know at the time the lightbox runs that it was cropped versus resized…


(Dean Taylor) #4

Perhaps something like this which is always displayed on a cropped image:


Please also note that for extremely tall images clicking the image and then showing full-screen is a poor solution…

… mainly because you are unable to scroll and you are still limited by the height of the users screen.

Note the result of clicking the image in the first post of the feature request:


(Régis Hanol) #5

If you click on the image once it’s full-screen, the image will be “real size” and you’ll be able to scroll :wink:


(Jeff Atwood) #6