Permanant watermark with undo possibility (GD2+IM working!) + better admin tools - Page 4 Permanant watermark with undo possibility (GD2+IM working!) + better admin tools - Page 4
 

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

Permanant watermark with undo possibility (GD2+IM working!) + better admin tools

Started by Stramm, March 31, 2006, 03:33:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Stramm

Quote from: Stramm on March 31, 2006, 03:33:15 PM
Setup:
just apply the following code, replace include/picmgmnt.inc.php with the attached file and run update.php

GoTTi

ok i did that, and now i have the settings set to on, and the path to watermark is images/watermark.png

first, is that images folder meaning inside the gallery folder? /public_html/gallery/images/ ??

second, when i set the option to on, and i have the watermark image in the folder, what do i do next? i uploaded a few test pics and i added them to gallery, and the watermark did not show.

thanks for your help.

Stramm

yes, that's the folder.
If it's not working then you probably made a mistake somewhere. Have you replaced the picmgmnt.inc.php (with the one added to the first post in here or the improved one http://forum.coppermine-gallery.net/index.php?topic=29817.msg143122#msg143122 )


GoTTi

ok i changed the php file and now its working.

its only watermarking the preview image though, not the original and i have the setting set to both.

what would cause that?

Stramm



DarioDN

i've installed all and on single upload it's worked.

Now i've uploaded batch files and it shows the watermark only the intermediate image but not on the large image... how can i do?

tnx

Stramm


DarioDN

yes, but the link reported don't resolve the problem (i'd the update but only the intermediates change)

DarioDN


Armstrong

I've searched this entire post. Where is the attached file picmgmnt.inc.php

Could someone please point me in the right direction?

Armstrong


claude258

I am trying to install this mod on:
http://www.fur4x-hebergement.net/claude/cpg149/index.php
but I get a critical error (as administrator) and a blank page (as visitor) when I try to add an image via HTTP.
Via FTP the image is not added.

Can you help?
Thanks





Stramm

Have you updated the SQL and replaced the picmgmnt.inc.php file?
If yes, then check the modifications you did again. Somewhere you've made a mistake while applying the mod. Even better would be to restart from scratch

claude258

I have updated the SQL and replaced the picmgmnt.inc.php. I have done all the modifications asked by the mod (restarted from scratch).

I still get the following error with HTTP upload (as administrator):
QuoteErreur d'upload - './albums/edit/'

Fichier: /home/www/claude/cpg149/upload.php - Ligne: 2261

I get a blank (white page) with a upload as visitor.

With FTP upload, the image can't be added.

My image watermarking config:
The link used for the watermark file: www.fur4x-hebergement.net/claude/cpg149/images/watermark.png
Transparency:50
Set color transparent x (GD2 only): (blank)
Set color transparent Y (GD2 only): (blank)

I have to mention that I modified the french.php file instead of english.php. Is that the problem?

Link to the site:
http://www.fur4x-hebergement.net/claude/cpg149/index.php
debog is available.

Thanks.




light2fire

Hi everyone.

Quote- possibility to assign different watermarks to certain users.

Is this also possible for this mod? (1.4.x)

Stramm

Claude, I just uploaded a test pic and all worked smooth (no white page or any error at all) except that no watermark got applied. But that's no wonder at all cause you've set a web URL for the path. That'S plain wrong. Either use the absolute or relative path
relative path: images/watermark.png

Stramm

Quote from: light2fire on September 06, 2006, 01:19:55 AM
Hi everyone.

Is this also possible for this mod? (1.4.x)

would be possible if you code the necessary changes

light2fire


Stramm

similar to the ones for 1.3... nothing major has changed. I do not know out of mind and would have to look that up myself too. If I remember right, then it was just some lil thingies in picmgmnt.inc.php - > compare that file with the standard modpack 1.3 picmgmnt.inc.php