mobile images dont resize to fit width
Submitted Rimi, Aug 13 2012 06:44 PM | Last updated Aug 20 2012 03:01 PM
Image view.
| Status: | Fixed |
| Version: | 5.0.0 Beta 1 |
| Fixed In: | 5.0.0 Beta 1 |











13 Comments
Updating Status to: Fixed
-
http://community.inv...m-28451-sample/
#content .galmedium {
max-width: 100%;
}
<p> </p>
<p>http://www.testiphone.com/</p>
I don't know what to tell you right now - you pointed out the CSS change that fixes this, so you must see that the CSS change has been included in the release. It's working fine for me on this site and locally.
Anyway...I have no idea why it's working properly for you, but the CSS is wrong. It should be .galattach not .galmedium.
Maybe iphone is being smart and autoresizing.
It doesn't have galattach class at all on the image view page. You are starting to confuse me...
<p> </p>
<p>2) My setup has galattach instead of galmedium because in the resize settings I have medium sizes blank and I rebuilt all images. I just changed the settings to restore the medium size defaults, rebuilt all images, and the class switched to galmedium.</p> So just add galattach to the css.
http://screencast.com/t/oJsHrHhjO
Now, your last statement regarding not having medium sized images is valid, so I'm going to change it....but I have no idea what you are talking about saying the company forums doesn't have galmedium in the source. That screenshot is of the source code on the page you linked to. It does have galmedium in the source (but not galattach on the main image view).
Anyways, I edited the mobile skin to add id 'mobileImageWrap' to the container div, and changed the CSS to
#mobileImageWrap .galmedium, #mobileImageWrap .galattach {It (still) works for me - hopefully it resolves the issue for you.
http://content.commu...2/ipgallery.css
That stuff. Switch the mobile skin and check it. .galmedium isn't in there...