Moving watermarks Moving watermarks
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Moving watermarks

Started by jmmc, October 21, 2008, 04:34:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jmmc

Hey!

So my website (& Coppermine gallery) recently changed its server. So now when I add pics and use the Stramm watermarking it looks like this: http://i34.tinypic.com/23w8wmw.jpg

While before the server change the watermark wasn't fully at the bottom of the pic but it was a bit higher and we could see a little of the pic on the left side and at the bottom like this: http://i38.tinypic.com/23vjpme.jpg

I hope you understand what I meant.
Is there a way so the pic can go up and to the left a little bit like it used to before?

Thanks in advance!

Stramm

You probably edited picmgmnt.inc.php and removed the margin...

if ($pos == "northwest") {
$src_x = 5;
$src_y = 5;
} else if ($pos == "northeast") {
$src_x = $destWidth - ($logoW + 5);
$src_y = 5;
} else if ($pos == "southwest") {
$src_x = 5;
$src_y = $destHeight - ($logoH + 5);
} else if ($pos == "southeast") {
$src_x = $destWidth - ($logoW + 5);
$src_y = $destHeight - ($logoH + 5);
} else if ($pos == "center") {
$src_x = ($destWidth/2) - ($logoW/2);
$src_y = ($destHeight/2) - ($logoH/2);
}


Change 5 into 0

jmmc

I replaced the 5 for 0 on picmgmt.inc.php and the watermarks are still like this: http://i34.tinypic.com/23w8wmw.jpg  :-\

Stramm

looks like it should... I'd say

jmmc

I change ALL the '5's on that code to 0, right?

Stramm


jmmc

Yup, the tag keeps on the same place.  :(

Stramm

You need to recreate the images after fiddling around with the settings... it doesn't happen 'on the fly'.

jmmc

Hello,

So I got this watermark and I wanted her to not get any space on the left side, this pic explains where the place is: http://i27.tinypic.com/2lvxvdu.jpg

I know it has to do with some file and having to change numbers to '0' or something but I have no idea what file is it and what should I change because I want to keep the bottom border, just want to put the tag all the way to the left.

Thanks in advance!

onthepike

Didn't you already resolve this issue here?

Joachim Müller

Board rules:

  • Post a link to your gallery
  • Don't hotlink screenshots, but attach them
  • No double posts

Merged your new thread with your existing thread that onthepike refered to.