Created
May 4, 2011 03:32
-
-
Save mrcave/954715 to your computer and use it in GitHub Desktop.
ResizeImage.aspx Paramaters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="/ResizeImage.aspx?img=/Websites/siteslug/Images/image.jpg&w=128" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="/Websites/lightignite/Images/blog/fence.jpg" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img - The full local path to the image i.e. /Websites/siteslug/Images/image.jpg | |
h - Set the height of the resized image | |
w - Set the width of the resized image | |
m - Set the max width or height of the resized image. This will cause an image to be further scaled down if either the width or height exceed the max value after the image has been resized according to the other paramaters | |
s - Set this to 'true' to generate a square thumbnail. A 'm' max width/height must also be specified. | |
t - Supposedly this will only cause the image to be resized only if the source image is larger than the specified 'h', 'w', or 'm', however I could not verify this functionality because even without 't' defined I was unable to get an image to scale up any larger than it started. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="/ResizeImage.aspx?img=/Websites/lightignite/Images/blog/fence.jpg&w=128" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="/ResizeImage.aspx?img=/Websites/lightignite/Images/blog/fence.jpg&m=64&s=true" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment