Please allow the ability to re-size images by defining both a height and a width parameter. The image should then re-size to never be bigger than either the width or the height.
Date
Votes
1 comment
-
PPO Development Unless I am misunderstanding your requirement, we already provide this functionality:
When you have a section of type image, you can use image.aspx and pass the required parameters as follows:
Usage:
..//image.aspx?key=(document key)[&altKey=(alternative document key)][&height=(integer)][&width=(integer)]
Rules:
1. Will try altKey, either if key was not found or if key is not an image
2. When no height or width has been specified, the image will remain its original size
3. When either only a width or height has been specified, the image will retain it's apsect ratio
4. When both height and width has been specified, the image will resize to the exact size (image will be distorted)
Please sign in to leave a comment.