Thread
:
Image handling - XGA 1024*768, full page etc
View Single Post
03-02-2013, 10:32 PM
#
4
Turtle91
A Hairy Wizard
Posts: 3,361
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
I also add a css to prevent the image from losing it's aspect ratio and becoming stretched.
img {max-width:100%; max-height:100%}
That will allow the image to be displayed at it's maximum size without spilling off the display.
Cheers!
Turtle91
View Public Profile
Find More Posts by Turtle91
Track Posts by Turtle91 via RSS