Capture the URL path of image upload

2 posts by 2 authors in: Forums > CMS Builder
Last Post: April 4, 2018   (RSS)

By leo - April 4, 2018

Hi Zicky,

If your video records contain an upload field for video files and another upload field for the poster, the uploads should be linked to the video record already by default. To get the uploads you can either use getRecords() function with 'loadUploads' to be true, or just callĀ getUploads($tableName, $fieldName, $recordNum). And the urlĀ path of the uploads will be the value of 'urlPath' key in the relative upload data.

Hope this answers your question.

Thanks,

Leo - PHP Programmer (in training)
interactivetools.com