Jump to:

10843 Posts in 2514 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » DataObjectManager - resize image at creation by input value

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 3053 Views
  • Allisone
    Avatar
    Community Member
    27 Posts

    Re: DataObjectManager - resize image at creation by input value Link to this post

    Hmm, howardgrigg, I think you are right, this is also a very important thing. Right now I'm not dealing with that problem, but I guess this might become a problem for me, too, soon.

    So UncleCheese... Next round

  • UncleCheese
    Avatar
    4085 Posts

    Re: DataObjectManager - resize image at creation by input value Link to this post

    I wish such a thing were in my hands, but unfortunately, all of that is handled by the Silverstripe GD class and the solution would lie in extending that class with custom modifications.

  • Allisone
    Avatar
    Community Member
    27 Posts

    Re: DataObjectManager - resize image at creation by input value Link to this post

    Hmm, so I guess I would have to modify writeTo($filename) in the GD extended Class ?

    And I would have to copy paste all the original Image methods that use the normal GD class to my extended Image Class and rewrite them, so that they use my extended GD Class ?

    Or do you know an easiyer way / an exact point/method that would do the trick ?
    If this is beyond your knowledge, I would open another thread, but maybe theres something I would have to add/modifiy to the DataObjectManager, too ?!

    3053 Views
Page: 1 2
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.