forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 modpack by Stramm => Topic started by: jmmc on October 21, 2008, 04:34:00 pm

Title: Moving watermarks
Post by: jmmc on October 21, 2008, 04:34:00 pm
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!
Title: Re: Moving watermarks
Post by: Stramm on October 21, 2008, 05:54:43 pm
You probably edited picmgmnt.inc.php and removed the margin...

Code: [Select]
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
Title: Re: Moving watermarks
Post by: jmmc on October 24, 2008, 02:28:04 pm
I replaced the 5 for 0 on picmgmt.inc.php and the watermarks are still like this: http://i34.tinypic.com/23w8wmw.jpg  :-\
Title: Re: Moving watermarks
Post by: Stramm on October 24, 2008, 06:32:42 pm
looks like it should... I'd say
Title: Re: Moving watermarks
Post by: jmmc on October 24, 2008, 06:42:55 pm
I change ALL the '5's on that code to 0, right?
Title: Re: Moving watermarks
Post by: Stramm on October 24, 2008, 07:30:56 pm
Yes
Title: Re: Moving watermarks
Post by: jmmc on October 24, 2008, 08:59:00 pm
Yup, the tag keeps on the same place.  :(
Title: Re: Moving watermarks
Post by: Stramm on October 25, 2008, 01:17:40 pm
You need to recreate the images after fiddling around with the settings... it doesn't happen 'on the fly'.
Title: Moving the watermark file
Post by: jmmc on August 13, 2009, 11:40:17 pm
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!
Title: Re: Moving the watermark file
Post by: onthepike on August 14, 2009, 03:13:47 am
Didn't you already resolve this issue here (http://forum.coppermine-gallery.net/index.php/topic,55859.msg272964.html#msg272964)?
Title: Re: Moving the watermark file
Post by: Joachim Müller on August 14, 2009, 07:36:35 am
Board rules:
Merged your new thread with your existing thread that onthepike refered to.