Hi Nick,
Inside the Photos control, you don't need to prepend $Photos, you can just use $URL, $SetWidth(x) etc. You have to use $Up to take it out of the 'photos' scope, so it knows to not try to get the 'Make' of the photo.
Loz
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi Nick,
Inside the Photos control, you don't need to prepend $Photos, you can just use $URL, $SetWidth(x) etc. You have to use $Up to take it out of the 'photos' scope, so it knows to not try to get the 'Make' of the photo.
Loz
Fan Bloody Tastic!!
thanks again for that, i can see that im going to enjoy this new language, it might have been better if i had started of a bit simpler but so far it does mostly make some kind of sense so i will keep plodding on and see where it takes me.
Thanks again for the Help.