Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Moving watermarks  (Read 8376 times)

0 Members and 1 Guest are viewing this topic.

jmmc

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Moving watermarks
« 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!
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Moving watermarks
« Reply #1 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

jmmc

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Moving watermarks
« Reply #2 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  :-\
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Moving watermarks
« Reply #3 on: October 24, 2008, 06:32:42 pm »

looks like it should... I'd say

jmmc

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Moving watermarks
« Reply #4 on: October 24, 2008, 06:42:55 pm »

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

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Moving watermarks
« Reply #5 on: October 24, 2008, 07:30:56 pm »

Yes

jmmc

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Moving watermarks
« Reply #6 on: October 24, 2008, 08:59:00 pm »

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

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Moving watermarks
« Reply #7 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'.

jmmc

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Moving the watermark file
« Reply #8 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!
Logged

onthepike

  • Guest
Re: Moving the watermark file
« Reply #9 on: August 14, 2009, 03:13:47 am »

Didn't you already resolve this issue here?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Moving the watermark file
« Reply #10 on: August 14, 2009, 07:36:35 am »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.