Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2018
    Posts
    11
    Plugin Contributions
    0

    Default Make IH4 apply watermark to additional product images

    Greetings,

    I am using Image Handler 4 which is configured and applies watermark to my products' main images. I have the additional_product_images plugin which helps me upload images directly to the "general_document" articles I create. Everything works great, but the problem is that my additional product images don't have watermark. How can I fix this?

    I am currently studying Zen Cart's code and plugins, though I am a developer myself. I will have probably found the solution by the time someone answers, but I think it is supposed to be a one-minute solution.
    Thanks in advance!

  2. #2
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Make IH4 apply watermark to additional product images

    Not to derail what you're doing, but you know about IH5, correct?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jun 2018
    Posts
    11
    Plugin Contributions
    0

    Default Re: Make IH4 apply watermark to additional product images

    Yes, I do. Does it offer this specific option? If not, then this does not exactly help me. Thanks for the answer anyway!

  4. #4
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Make IH4 apply watermark to additional product images

    Quote Originally Posted by honatto View Post
    Yes, I do. Does it offer this specific option? If not, then this does not exactly help me. Thanks for the answer anyway!
    While some of the code logic has/had changed, basically the "rules" have been, IH will handle an image (including applying a watermark) if any of the following are true: the filename includes the default large or medium extension in it, or if the size of the image of both width and height is defined as the width and height for a small image. Otherwise, it's just a generic image and no handling is performed.

    So, your additional images would need to be coded to either use the small image size or have in their filename one of the medium or large extensions. Oh, and the image has to be processed through the ZC image processing or else needs to rely/call the IH image handler portion(s).

    The software overall has been reworked in IH5 and from the code I was perusing there are areas that remain the same as before in IH4, but also some logic changes here and there.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v155 Add product with watermark, enable download without watermark
    By senoj in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 7 May 2018, 07:22 PM
  2. Make additional images NOT clickable
    By Justrimless in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 5 Apr 2013, 04:14 PM
  3. How to make additional images look more presentable in product info page?
    By keemeng in forum Customization from the Admin
    Replies: 6
    Last Post: 6 Jun 2011, 02:31 AM
  4. Watermark Product Images
    By SaMortensen in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 11 Feb 2009, 12:08 AM
  5. Auto watermark product images
    By minshop.no in forum Basic Configuration
    Replies: 2
    Last Post: 8 Jul 2008, 07:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR