Function PropertyMediaFileCaption

Example calls ...
From a property style class:

For photo 1
PropertyMediaFileCaption(1)

For photo 6
PropertyMediaFileCaption(6)
Or
PropertyMediaFileCaption(6,"","P","W")

For Floorplan 1
PropertyMediaFileCaption(1,"","F","W")

From another class:

For photo 1
PropertyMediaFileCaption(1,"PROPERTY")

For photo 6
PropertyMediaFileCaption(6,"PROPERTY")
or
PropertyMediaFileCaption(6,"PROPERTY","P","W")

For Floorplan 1
PropertyMediaFileCaption(1,"PROPERTY","F","W")

Parameters:

1. Number of floorplan or photo you want
2. Alias where PROPCODE value comes from (blank means current alias)
3. P = Photo, F = Floorplan
4. W = Website (only use this as the captions are the same irrelevant of Website, Original or Thumbnail)