ebr 14968 Posted July 2, 2013 Share Posted July 2, 2013 1 - If I specify a size for an image, can I specify just the width or height and it will scale the other dimension appropriately? 2 - If the request I make happens to be larger than the original image, will it scale it up or give me the original size? I would prefer to get the original rather than a scaled-up version. Link to comment Share on other sites More sharing options...
Luke 37309 Posted July 2, 2013 Share Posted July 2, 2013 yes it will scale if you just specify one dimension. in all cases it preserves AR unless both a fixed width and height are specified. if you ask for a larger size it will scale up. i'd suggest using maxwidth/maxheight instead if that's what you need. Link to comment Share on other sites More sharing options...
ebr 14968 Posted July 2, 2013 Author Share Posted July 2, 2013 Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now