ElkArte Community

Elk Development => Theme development => Theme development archive => Topic started by: AngelinaBelle on January 15, 2013, 08:06:47 am

Title: iPad iOS 5.1.1 avatar aspect ratio way off
Post by: AngelinaBelle on January 15, 2013, 08:06:47 am
Hey guys,

This new fork of yours looks pretty good. We really miss you back at the ranch.

I noticed a funny issue that affects users of older iPads using this site running Dialogo 1.0 alpha

iPad 1,1 running iOS 5,1,1


I observe the same thing when I view my own profile


Everything looks normal on more recent iOS devices I have checked this on

I am currently viewing this site using an iPad 1, which is up-to-date with iOS 5.1.1
The site is running
Title: Re: iPad iOS 5.1.1 avatar aspect ratio way off
Post by: emanuele on January 15, 2013, 10:10:30 am
I've seen something similar when I have an error around (using $db_show_debug = true) with some browser (don't remember which one though...).
Title: Re: iPad iOS 5.1.1 avatar aspect ratio way off
Post by: Spuds on January 15, 2013, 10:06:02 pm
I've seen (not in quite awhile) the top small avatar goes a bit crazy as well.   I don't know of a way to truly simulate the ipad to be able to fix the error.   The online tools to do the viewing are often little more than a fancy iframe but not true emulators.  

Said another way, be a good iSheeple and update that old hardware :P
Title: Re: iPad iOS 5.1.1 avatar aspect ratio way off
Post by: Antechinus on January 27, 2013, 05:51:30 pm
This is a known bug with older iStuff. It doesn't correctly handle proportions when switching from portrait to landsacpe. There is a workaround for it, but IIRC that introduces other problems. Would have to go searching again as it's a while since I read it.
Title: Re: iPad iOS 5.1.1 avatar aspect ratio way off
Post by: Spuds on January 27, 2013, 06:02:54 pm
I was seeing a similar problem on safari 5.x so I changed the css slightly  O:-) and that fixed the safari thing and worked in ie, chrome, ff, safari ... can't test the iPoop stuff though ... not sure its even on this site yet, may only be in the repo.
Title: Re: iPad iOS 5.1.1 avatar aspect ratio way off
Post by: Antechinus on January 27, 2013, 06:05:45 pm
Safari is weird, at least on Windows. It does some odd things that Chrome doesn't do. I supect that Apple simply doesn't bother testing Safari on Windows, because they know nobody* uses that combination.


*Apart from three or four lunatics in Tierra del Fuego.
Title: Re: iPad iOS 5.1.1 avatar aspect ratio way off
Post by: Antechinus on January 28, 2013, 01:56:49 pm
There's a bit about it here, and also on Stack Overflow and several other sites.

http://webdesignerwall.com/tutorials/iphone-safari-viewport-scaling-bug