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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

Extending Product_Image for image size changes


Go to End


1118 Views

Avatar
joelpittet

Community Member, 4 Posts

30 October 2009 at 6:32pm

What is the best way to overwrite methods of Product_Image? I have a guess that it would be to copy that into the same path in mysite/code/products/Product_Image.php and extend the original with my changed methods and such... is that the best way? Do I need to add anything to the _config.php file too?

I am a bit of a SilverStripe noob, sorry.