Not signed in (Sign In)

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

    • CommentAuthordustinto
    • CommentTimeJul 10th 2006
     
    I have done searches and all I can find is how to add a watermark to a thumbnail.

    I want to add a watermark to the full size image...how can I do this?

    Thanks
  1.  
    iam also interested in this thing, hope someone can help us out :)
    • CommentAuthorddejong
    • CommentTimeJul 13th 2006
     
    First, look at mod_rewrite. It's a method to transparently turn foo.com/bar/bla into foo.com/bar.php?page=bla while the user always sees foo.com/bar/bla. This is how Plogger makes cruft-free URLs.

    Second, look at the phpThumb docs, and how the watermarking code (mentioned above) works. Study the phpThumb method of watermarking images with GET variables.

    Third, create a mod_rewrite rule that forces any request to /images to pass the file through the watermarking code first. When it arrives in the user's browser, it will (a) be watermarked, and (b) it does not replace the original image. Why is that important? Well, if you put a massive "WakaWaka!!" through the middle of the original image, it will appear in all of your thumbnails... by the time it's made into a small thumbnail, it may be so distorted you cannot see the original image in the thumb. This way, you can watermark your large and small thumbs separately ... maybe just putting a "W!!" in the corner or not watermarking the small thumbs at all (who's stealing 100x100 images these days?).

    Anyhow, that is how I would implement it, and should take very little PHP if any to get it set up. It's a matter of configuring your server and passing phpThumb the right variables, as well as putting your watermark (hopefully a nice alpha-transparent png) in the right spot.

    Regards,
    Derek
    • CommentAuthorpuk
    • CommentTimeAug 20th 2006
     
    ddejong, i've previously had plogger 2.1 installed for my gallery, and it worked fine, i moved hosts and decided to try beta 3, which i like, its nice and tidy, not found any bugs yet but am trying to sort the watermark. i thought the file to be altered was plog-functions.php but i looked inside and cannot find anythin to do with watermarking, has this been removed on the latest build for the beta? Where do i find the info to sort it out.

    cheers