Forum Moderators: not2easy

Message Too Old, No Replies

Mobile image scaling issue

Portrait to Landscape problem

         

minnapple

3:51 am on Feb 1, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I am working on a donation site for my late nephew.

Desktop version done.
Mobile version done except for one weird bug.

I have everything set up so based upon the screen size the viewing device fetches a different css that will change class settings, swap div tag content, images etc . .

All the images are defined to scale depending on the screen size and its bounding box, be it desktop or mobile.

I have one problem image, that scales well in mobile portrait orientation, but will not scale in landscape.

The image size in landscape actually reduces in size.
All the other images scale ok in landscape, and class is not misspelled.

It is almost like the viewpoint settings are being ignored in for this one image but only in landscape.

Not looking specific coding help here, just wondering if anyone else has seen this type of issue before. Or if I am just crazy.

not2easy

5:34 am on Feb 1, 2015 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Any chance the image is an old image from an iPhone? I forget which iOS fixed the issue, but at one time there was a problem of photos retaining orientation metadata. It was mostly affecting images viewed in the Safari browser.

minnapple

11:40 pm on Feb 1, 2015 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No it was an image I patched together in photoshop.
But, thanks for the input!
I am going to try it as a different file type to see if it makes a difference.