Jump to:

23453 Posts in 18902 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » How do I resize an image if...

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

Page: 1
Go to End
Author Topic: 494 Views
  • _Vince
    Community Member
    161 Posts

    How do I resize an image if... Link to this post

    I need to resize images on a template.

    The only problem is that the template is fed by the result of an SQLQuery, so all I have is a column with the ID number of the image, not the image object.

    Is there anyway to access setWidth(), working back from the ID?

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.