Function PropertyMedia

Generates a html image for the provided property media

PropertyMedia([MEDIA],[SIZE],[TYPE],[WIDTH],[HEIGHT],[INDEX],[STYLE],[ALT],[TITLE],[ID],[BORDER],[PRIVATE_URL])

Parameters

#TypePassingDefaultNameDescription/Comments
1stringrequiredn/aMEDIAThe property media
2stringoptionalWSIZEThe size: "T" = Thumbnail, "W" = Website, "O" = Original Hi-Res
3stringoptionalPTYPEThe type: "P" = Photo, "F" = Floorplan
4integeroptionaln/aWIDTHThe required width in pixel size
5integeroptionaln/aHEIGHTThe required height in pixel size
6integeroptionaln/aINDEXThe nth index to find starting at 1
7stringoptionaln/aSTYLEThe image style
8stringoptionaln/aALTThe image alt
9stringoptionaln/aTITLEThe image title
10stringoptionaln/aIDThe image id
11integeroptional0BORDERThe image border size
12booleanoptionalfalsePRIVATE_URLWhether using a private or public URL

Returns

The image for the property media


Examples

Example for photo 1 defaulting to photo 1 web size

{{PropertyMedia(ALIAS.PROPMEDIA,"W","P",1920,1080,1)}}

Example for photo 6 with all parameters

{{PropertyMedia(ALIAS.PROPMEDIA,"W","P",1920,1080,6,"","","","",0)}}

Example for photo 1 web size with custom text

{{PropertyMedia(ALIAS.PROPMEDIA,"W","P",1920,1080,1,"","","Photo of the main building","This is a photo of the main building",0)}}