Jump to:

21293 Posts in 5733 Topics by 2602 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 390 Views
  • _Vince
    Avatar
    Community Member
    148 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?

    390 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.