addedValues Plugin

...Powerful Free! Database Expansion for Manila
logoBottle:

(1 or more words)


Get tropes here!
Click to see internals
Report bug


GSA Business

sitepic_gsabusiness.jpg:
Viewable with Any Browser

Members
Join Now
Login

addedValueMacros.scaledPictureRef

Syntax

{addedValueMacros.scaledPictureRef(shortcutName, widthWanted="", heightWanted="", explanation=nil, hspace="", align="", usemap="", ismap=false, border=0, glossref="", vspace="", lowsrc="", rollsrc="", name="", id="", style="", class="", title="", onload="", onabort="", onerror="", onmouseOver="", onmouseOut="", onClick="", suffix = "", whatTarget="")}

Examples

{addedValueMacros.scaledPictureRef("pic_Variable Applies To", 120, 120)} pic_Variable Applies To:
{picturelink(addedValueMacros.scaledPictureRef("pic_Variable Applies To", 120, 120, border:1), "pic_Variable Applies To")} pic_Variable Applies To:

Semantics

This is a souped up version of Manila's pictureRef Macro. There a 4 distinct categories of changes between this macro and the Manila original. Many pictures in this website are rendered using this macro. One particularly useful trick is to use a scaled down verison of an image as a link to the full sized image. This is done with Manila's pictureLink Macro or the manilaFixer plugin pictureLink Macro which adds a target attribute to the link. The second example illustrates this technique.