Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

loop if image exists?

Go to End

10 Posts   3265 Views


Community Member, 187 Posts

20 February 2013 at 10:06pm

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.



Community Member, 15 Posts

21 February 2013 at 10:26am

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.

Go to Top