Block watermarks on album thumbnails but have them on image thumbs

I have created a custom theme which uses huge image thumbnails as if they were imagese on the image.php. However this creates a problem if I want to use watermarks. Both image and album thumbnails receive an watermark if I check "Image thumbnails" and none if I leave empty. Is there a a way to stop album thumbnails from being watermarked? I want them only on the image thumbs. Thanks!

Comments

  • Sorry, I guess I do not understand why you are using a thumbnail as an image.

    Of course if you display a thumbnail and ask for thumbnails to be watermarked the display will contain a watermark. After all that is what you instructed.

    If you want the display not to have a watermark, don't make it a thumbnail (and of course, do not watermark normal images.)

    So the above begs the question: What do you really want to accomplish?
  • Sorry if my description was a bit vague. I'm doing the following:

    I have skipped right to album.php by linking in the main menu to two of my top level albums. In album.php I display album thumbnails at 200px and image thumbnails at 600px. In this way I'm using image thumbnails as images themselves. Also I'm using lightbox to display the big image directly in album.php at around 900px instead of linking to image.php. So when I click on album thumbnails I get the contents as images not thumbnails. This however gives me no way to separate album thumbs from image thumbs, therefore both of them get watermarked.

    gallery.php - Not used.
    image.php - Not used.

    I know i'm losign a few functionalities but that is fine with my requirements.

    Maybe there's a way to modify the core files. I can't find which is the php script and function that handle watermarks.
  • :)) If only I had thought a bit...
    I have replaced in album.php

    `printImageThumb(getBareImageTitle());`
    with
    `printCustomSizedImage(getBareImageTitle());`
    Problem solved!
  • acrylian Administrator, Developer
    Good you figured it out yourself! Again the note that you should NEVER modify core files! If you need extra use theme custom functions or plugins.
Sign In or Register to comment.