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, biapar, Willr, Ingo, swaiba, simon_w

question add image template - noob


Reply

20 Posts   2151 Views

Avatar
wachupe

22 July 2011 at 7:35am Community Member, 15 Posts

that could add to the control to call these images of a certain size ?

Avatar
zenmonkey

22 July 2011 at 7:44am Community Member, 528 Posts

That will use the standard $image functions like $Image.SetWidth() etc. http://doc.silverstripe.org/sapphire/en/reference/image

Avatar
wachupe

22 July 2011 at 7:50am Community Member, 15 Posts

thx again for your time friend thx

Avatar
wachupe

27 July 2011 at 2:00am Community Member, 15 Posts

hi again, but example how convert this

<% control Logos %>
<a href="$Link">$LogoImage</a>
<% end_control %>

in a function, to include the logos in each template?
but this control only show the logos in the "Inicio" template.