6

I'd like to add a watermark to each small image (but only in the category listing page) that is based on the manufacturer attribute. I don't want to alter the small image for that product on other pages.

I've thought about setting a watermark for small images and overriding the image file, but that will add the watermark to all small images for that product (which might be shown on other pages).

Is there a somewhat easy way to do this without creating a custom module?

0

There is a method for this, you just have to edit the category template, so that your image rendering adds a watermark:

\Mage_Catalog_Model_Product_Image::setWatermark
  • Stupid people, please start adding comments if you have a problem with post, so I can fix it and learn! – Fabian Blechschmidt Jun 26 '16 at 9:46
  • nice comment, i liked it...... – Baby in Magento Jan 3 '17 at 5:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.