Jump to content

Image request questions


ebr

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...