Scales the specified image within the given dimensions, maintaining the aspect ratio of the original image. Requires [math_proportion], available here.
Parameters
-source
string, required
Path to the source image.
-target
string, required
Path, including name, of the target image (the one to be created).
-width
integer, required
Width, in pixels, of the rectangle the scaled image should fit within.
-height
integer, required
Height, in pixels, of the rectangle the scaled image should fit within.
Click the "Download" button below to retrieve a copy of this tag,
including the complete documentation and sample usage shown
on this page. Place the downloaded ".inc" file in your
LassoStartup folder, restart Lasso, and you can begin using this
tag immediately.
09/10/2007, Jason Huck Bug Fix
Corrected an issue that would sometimes set the new width to the wrong value.
08/19/2006, Jason Huck Bug Fix
Corrected an issue where the height might not always be constrained properly. Thanks to Mason Miller for this fix!
03/16/2006, Alex Pollard Doesn't get along with Filemaker
I wanted to try to have this dynamically make tumbnails from Filemaker imbedded images. It didn't work.
-A
Bug Fix
Corrected an issue that would sometimes set the new width to the wrong value.