I have a custom media source pointed to the images folder. assets/images/
The TV using this media source shows a shortened URL like employee/user.jpg
I assume I have the media source configured properly because everything else works including the regular getResources snippet which returns a full image URL back to the root of the site as expected. Like assets/images/employee/user.jpg
The getResourceField snippet does not work right and only seems to retrieve the shortened URL string shown in the TV’s form field. i.e. employee/user.jpg
I don’t think it includes the media source path out of the box.
It might be worth checking if pdoField (part of pdoTools) has that functionality.
Otherwise you would need to prefix the media source URL to the output. You could do this manually or write a wrapper snippet for pdoField or getResourceField.
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.