Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorthebluebus
    • CommentTimeJul 24th 2007
     
    i've managed to get watermarking to work on the large thumbnail,by adding this to plog-functions.php

    if ($thumb_config['filename_prefix'] != '') { // add only for large thumbs
    $phpThumb->fltr = array("wmi|images/watermark.png|BR|50|5");
    }

    but when you click through to the full size image its unwatermarked. What do i need to do to add it to the full size image?
    I would normally just add it in photoshop before upload but then obviously the watermark gets scaled with the images so would appear small on the large thumbnail

    any help appreicated

    cheers
    • CommentAuthorpwatson80
    • CommentTimeJul 25th 2007
     
    As far as I can tell, plogger dosn't actually edit the original file (your full size images) rather it just moves them and creates thumbs from them. So you could upload the originals to get your thumbnails, then manually add the watermark to your originals and re-upload overwriting the unwatermarked versions. As long as the file names aren't different you should be fine.

    Also if you ever change the thumb sizes, plogger will recreate them from the files currently uploaded (the watermarked ones) so get your thumbs right first i guess lol.

    Bit of a botch job I guess, but its a simple work round.

    Hope this is useful
    Paul
    • CommentAuthorthebluebus
    • CommentTimeJul 25th 2007
     
    thanks for the suggestion but thats no good at all really. I thought you could get php thumb to add watermarks to anything, you just need to call the image through php thumb? i'm just not sure how to do this.

    2 things i think plogger needs badly for beta 4.

    Password individual albums (i think its already being done)
    Watermarking options via the control panel
    • CommentAuthorthebluebus
    • CommentTimeJul 26th 2007
     
    anyone know how to watermark the large image?
    • CommentAuthorjack
    • CommentTimeJul 26th 2007
     
    Marekkis has a very nice thumbnailing plugin for WordPress. It can even make thumbnails afterwards by browsing to your /plogger/images folder and check all the images inside a folder: http://watermark.malcherek.com/.
    But if you're not using WordPress? I don't know. Perhaps this plugin could easily be transformed to be used inside Plogger? Would be nice ;)
    •  
      CommentAuthorkent
    • CommentTimeNov 28th 2007 edited
     
    Where exactly do i put that?

    if ($thumb_config['filename_prefix'] != '') { // add only for large thumbs
    $phpThumb->fltr = array("wmi|images/watermark.png|BR|50|5");
    }

    must have done something wrong, cant get it to work. :(

    EDIT: Is this the correct way? seems working..

    // Set error handling (optional)
    $phpThumb->config_error_die_on_error = false;
    if ($thumb_config['filename_prefix'] != '') { // add only for large thumbs
    $phpThumb->fltr = array("wmi|images/watermark.gif|BR|50|5");
    }
    // generate & output thumbnail
    if ($phpThumb->GenerateThumbnail()) {

    $phpThumb->RenderToFile($thumbpath);

    } else {
    // do something with debug/error messages
    die('Failed: '.implode("\n", $phpThumb->debugmessages));
    }
    •  
      CommentAuthorkent
    • CommentTimeNov 28th 2007
     
    Any solution to watermark the big image?
    • CommentAuthorNaOH
    • CommentTimeNov 30th 2007
     
    Hi all,

    I can't get watermarking to work with my large thumbs at all. I've been through all the threads on this forum, deleted my /thumbs stuff, the code is in the right place and the image is where it's supposed to be, but I just don't get any watermarks on any of my images.

    Anyone know why this might be the case?

    Thanks!

    Steve
    • CommentAuthorportopong
    • CommentTimeDec 4th 2007
     
    I would like to know the answer for this too - if anyone has a final answer - a plugin manager would be awesome for a suggestion for future add ons.

    but still - if anyone one has an answer please point me.
    • CommentAuthorahawks
    • CommentTimeDec 17th 2007
     
    The final click through to the full size image goes directly to the actual image. This means it's not being "contained" or processed by any scripts before being served to the browser. Therefore, the only 2 solutions are:
    - Work in a page in plogger to display the full size image, including stamping the water mark on it
    - Manually include the water mark in the original image.