Function PropertyMediaUrls
Generates URLs for property media
PropertyMediaUrls([MEDIA],[SIZE],[TYPE],[PRIVATE_URL],[BRANCH])Parameters
| # | Type | Passing | Default | Name | Description/Comments |
|---|---|---|---|---|---|
| 1 | string | required | n/a | MEDIA | The property media |
| 2 | string | optional | W | SIZE | The size: "T" = Thumbnail, "W" = Website, "O" = Original Hi-Res |
| 3 | string | optional | P | TYPE | The type: "P" = Photo, "F" = Floorplan |
| 4 | boolean | optional | false | PRIVATE_URL | Whether using a public or private url |
| 5 | string | optional | null | BRANCH | The branch |
Returns
The URLs for the property media
Examples
Example to output photo URLs for a property
{{PropertyMediaUrls(ALIAS.PROPMEDIA,"W","P")}}Example to output floorplan URLs for a property
{{PropertyMediaUrls(ALIAS.PROPMEDIA,"W","F")}}
