Function PropertyMediaUrl

Generates a URL for property media

PropertyMediaUrl([MEDIA],[SIZE],[TYPE],[INDEX],[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/aINDEXThe nth index to find starting at 1
5booleanoptionalfalsePRIVATE_URLWhether using the public or private URL

Returns

The URL for the property media


Examples

Example to output photo URL for a property

{{PropertyMediaUrl(ALIAS.PROPMEDIA,"W","P",1)}}

Example to output floorplan URL for a property

{{PropertyMediaUrl(ALIAS.PROPMEDIA,"W","F",1)}}