Training Hub

Function PropertyMediaFile

Example calls ...

For photo 1
PropertyMediaFile(1)

For photo 6
PropertyMediaFile(6)
Or
PropertyMediaFile(6,.T.,"","P","W")

For Floorplan 1
PropertyMediaFile(1,.T.,"","F","W")

From another class:
For photo 1
PropertyMediaFile(1,.T.,"PROPERTY")

For photo 6
PropertyMediaFile(6,.T.,"PROPERTY")
or
PropertyMediaFile(6,.T.,"PROPERTY","P","W")

For Floorplan 1
PropertyMediaFile(1,.T.,"PROPERTY","F","W")

Parameters:

1. Number of floorplan or photo you want
2. .T. = Return File Name, .F.= Return File Existance
3. Alias where PROPCODE value comes from (blank means current alias)
4. P = Photo, F = Floorplan
5. Image quality/size
T = Thumbnail
W = Website
O = Hi-Res