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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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 2 Guests are viewing this topic.

Stramm

Read the first post in this thread again, especially the part with the setup instructions

Setup:
just apply the following code, replace include/picmgmnt.inc.php with the attached file and run update.php

mattocean

Quote from: Stramm on November 06, 2006, 12:46:02 PM
Read the first post in this thread again, especially the part with the setup instructions

Setup:
just apply the following code, replace include/picmgmnt.inc.php with the attached file and run update.php


Thanks a lot! It works ;D keep up the good work :)

a question again... the added watermark looks a bit compressed. The lines are a bit too smooth. Any idea why? I using transparent PNG file.


kipper

Hi I am seriously missing something here about the install. Is the picmgmt.inc.zip a plugin? (it says not a plugin package when tried) and I can not see any detailed install instructions. Please forgive my daft questions while I get my head around coppermine operations (I am a phpBB board admin).

Thank you

Stramm

a link would help... and of course the image gets recompressed. That's the whole idea of watermarking. You merge two pictures and then you save them as a new image... again with jpg compression. If the watermark is smaller on the intermediate image than expected, than that's a feature (if you applied it)

http://forum.coppermine-gallery.net/index.php?topic=29817.msg143122#msg143122

and what's not clear about
replace include/picmgmnt.inc.php with the attached file
this mod is in the mods board, we're not talking about plugins. picmgmnt.inc.php is a file in the include dir. Replace it with the attached one (unzip first)

oyabun

Hey there,

at first: nice mod, yesterday i installed it, then it worked without problems.

But for now (i installed another mods and a theme) my new uploaded images are not watermarked anymore...

Or did I forget any step after uploading & batch adding the pictures  ???

Stramm

batch add: make sure you've properly modified searchnew.php (the last step to do)

rbh

Quote from: alanlai on October 26, 2006, 10:56:55 AM
good mod.... thanks alot...

i wish the next version of gallery can have it build-in too...

thanks :)
Quote from: Stramm on October 26, 2006, 08:22:12 PM
already done

what version will have this mod? i downloaded 1.4.10 and it wasnt there that i saw.


oyabun

@Stramm: Yep, I edited the files correct (i hope so). The Mod did already work, so that's what's strange for me ???

Stramm

if it worked before and suddenly stopped after you applied other mods?? then that may be the reason. An url may be helpful, also a testuser account (with the permission to upload). If http upload works but not batch adding, then read this thread and the modpack thread. Has been answered several times (permission problems... chmod to batch add dirs 777, files 666)

khm1972

I have just added the code, replaced the picmgmt.inc file and run update.php. Everything also seems to have been applied correctly when I enter config, but the system will not let me save the entered specifications under "Image watermarking" in Config.

Eg: I have written the full path for my watermark and marked the "Use watermark" button and then I push save to store the changes in Config. Then I get the ususal message that Config has been updated, but when I check "Image Watermarking" in Config again to see if informtion has been stored, it has returned back to default.

I am only using english language if that has any influence. 

Have I done anything wrong in the applying of code - if so witch file do I have to look at?

Thanks
Klaus
www.markussens.dk

Stramm

if that happens, then the necessary SQL hasn't been aplied and updated properly.
- you haven't applied the code to sql/update.sql or you haven't uploaded the file
- you haven't run update.php (you say you have... do it again and check if the data you added to update.sql gets added)

language doesn't matter...only necessary to see the config settings

oyabun

Thanks, Stramm! The files had permission 777, after I changed it to 666 it worked :o

;)

khm1972

Thanks that did the trick. However I still have a problem to solve so hopefully you can help me with that to. The problem is that now I am only able to upload Images where I have deselected the Watermark option. When I select Watermark image - the upload process ends somewhere at db_input.php and I get a "Lost network connection (NSURLErrorDomain:-1005)" on my Mac and a Zero Sized Reply on PC.

I have posted a question about this earlier since it also was a problem after installing the Modpack on another site of mine. See http://forum.coppermine-gallery.net/index.php?topic=38020.0. Here you suggest to increase the PHP memory limit but where do I do this? Is it something I am able to do my self of is it a job for my host. Seems like it could be the problem here also.

Thanks
Klaus


Quote from: Stramm on November 07, 2006, 12:04:00 PM
if that happens, then the necessary SQL hasn't been aplied and updated properly.
- you haven't applied the code to sql/update.sql or you haven't uploaded the file
- you haven't run update.php (you say you have... do it again and check if the data you added to update.sql gets added)

language doesn't matter...only necessary to see the config settings

Stramm


Toto - BOD

First of all Hello and Congratulation for this mod!

After instaling this mod, i encounted a problem with the watermark! It`s not like it should be! Let me give you an exemple because is easyer for me:

This is my watermark:
http://i4.photobucket.com/albums/y124/toto_bad/logo2-2.jpg
And this is my foto after watermaking it:
http://i4.photobucket.com/albums/y124/toto_bad/IMG_38711-1.jpg


I didn`t set any transparecy and i tryed 2 diffrent paint programs but the watermark still looks like this! Can anyone help me!?

PS: PLEASE SCUZE MY ENGLISH, IT KIND OF BAD BUT I UNDERSTAND VERY WELL!

Stramm


Toto - BOD

I didn`t. that value it 0.

Should I install the MOD again? Can it be an instalation error?

Thanks for the reply!

Stramm

don't set it to '0' set no value at all... as an alternative you could comment out a line in include/picmgmnt.inc.php
imagecolortransparent($logoImage, imagecolorat($logoImage, $CONFIG['watermark_transparency_featherx'], $CONFIG['watermark_transparency_feathery']));
replace with
//imagecolortransparent($logoImage, imagecolorat($logoImage, $CONFIG['watermark_transparency_featherx'], $CONFIG['watermark_transparency_feathery']));


Stramm

and... use a png as watermark image (as stated in the docs - first post in this thread)