Jump to:

23486 Posts in 18995 Topics by 2878 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: 497 Views
  • _Vince
    Avatar
    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?

    497 Views
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.