This tag is useful in cases where an image must be scaled to fit within the HTML of a page and the need to properly include both dimensions outweighs the extra processing time required for the calculation. A perfect example is HTML emails for antiquated clients such as Lotus Notes.
Requires the path to the image and whichever new dimension is known. Optionally accepts an "absolute" param if the generated image tag should use an absolute URL.
Parameters
-filepath
string, required
The path to the image file.
-width
integer, optional
The width to which the image will be scaled in the HTML.
-height
integer, optional
The height to which the image will be scaled in the HTML.
-absolute
boolean, optional
A true value will create absolute URLs. Defaults to false.
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.
02/18/2008, Jason Huck Re: max size
No, it doesn't do this as currently written, but it would be easy enough to add.
02/18/2008, Dominique Guardiola max size
Can I give this tag both -height and -width , I mean the max height and the max width and it takes the bigger, makes it fit, and the second size follow keeping the ratio ?
Is this english?
02/15/2008, Jason Huck Updated
Updated to include options for the following HTML attributes: id, class, title, alt.
Re: max size
No, it doesn't do this as currently written, but it would be easy enough to add.