e2interactive forums » (E)2 Photo Gallery FAQ

Search:

Watermark

(2 posts)

Tags:


  1. ashish
    Member

    hi,

    I am new to this gallery.i have successfully installed it.but the difficulty i am facing is when i upload a new file,i want watermark to be display only for large images.i dont want watermark to display on thumbnail...please help me

    Posted 10 months ago #
  2. By default I don't have watermark ability on the uploader have you added this to the uploader yourself?

    If you do want to add it then you would have to open up the index.php file in the uploader folder and look for the following lines:

    $handle->image_resize       = true;
    $handle->image_ratio         = true;
    $handle->image_y               = 600;
    $handle->image_x               = 600;
    $handle->jpeg_quality        = 95;

    add this to them:

    $handle->image_resize               = true;
    $handle->image_ratio                  = true;
    $handle->image_y                        = 600;
    $handle->image_x                        = 600;
    $handle->jpeg_quality                 = 95;
    $handle->image_watermark       = 'watermark.png';  // Change this to location of your watermark on you server
    $handle->image_watermark_x   = 5;                            // X position from Top corner of postion of the watermark
    $handle->image_watermark_y    = 5;                           // Y position from Top corner of postion of the watermark

    And if you don't add it to the thumbnail resizing section it should only add it to the Big image.

    Posted 10 months ago #

RSS feed for this topic

Reply

You must log in to post.