Permanant watermark with undo possibility (GD2+IMagick) - Page 14 Permanant watermark with undo possibility (GD2+IMagick) - Page 14
 

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+IMagick)

Started by Stramm, March 26, 2005, 06:09:36 PM

Previous topic - Next topic

0 Members and 11 Guests are viewing this topic.

Impeerator

#260
Hi!

First I have to say: Well done! It's a great mod! I installed it now and it works properly, but I still have two small problems.

1. I still don't understand the whole thing with the transparency. I've made a logo with white text on a black background and wanted the watermark to be the whole image (with the black background) tranparent. But it's only the white text which becomes the watermark. I've tried everything with the png-file: with transparency, without transparency, with black background, with white background. But it's always the same. How can I get the black background of the image to be in the watermark, too? With transparency?

Edit: I solved this problem now :) Now it sets the watermark on every picture I upload. But when I want to update already existing images, I only get an Error:
Fatal error: Call to undefined function: watermark() in /homepages/18/d107423735/htdocs/coppermine/util.php on line 302
How to fix this?

2. When I now upload images onto the site, everything functions very well. But now this blue "OK"-Button which says that the upload went well, doesn't appear anymore. There's only a red "X" instead. And the path of the image of the blue "OK"-button is very strange:
http://www.impeerator.de/coppermine/addpic.php?aid=56&pic_file=MDFfdGVzdC9iaWxkXzAwMS5KUEc
So I think somewhere in a php-file there is a mistake, but I can't find it...

Can somebody help me with these problems? The last problem is not that urgent, but I want to see this blue "OK" ;)

By the way, this is the site where I put in the mod: http://www.fh-pics.de But I have not put the watermark on the pictures yet.

2hoch5

Hello,

i searched and searched and .......
but i can't find any watermark hack which can handle with groups.
i want that only selected groups see the watermarks.
it would be nice if someone can help me.

thanks

Stramm

Quote from: Impeerator on April 15, 2006, 06:49:39 PM
Hi!

First I have to say: Well done! It's a great mod! I installed it now and it works properly, but I still have two small problems.

1. I still don't understand the whole thing with the transparency. I've made a logo with white text on a black background and wanted the watermark to be the whole image (with the black background) tranparent. But it's only the white text which becomes the watermark. I've tried everything with the png-file: with transparency, without transparency, with black background, with white background. But it's always the same. How can I get the black background of the image to be in the watermark, too? With transparency?

Edit: I solved this problem now :) Now it sets the watermark on every picture I upload. But when I want to update already existing images, I only get an Error:
Fatal error: Call to undefined function: watermark() in /homepages/18/d107423735/htdocs/coppermine/util.php on line 302
How to fix this?

2. When I now upload images onto the site, everything functions very well. But now this blue "OK"-Button which says that the upload went well, doesn't appear anymore. There's only a red "X" instead. And the path of the image of the blue "OK"-button is very strange:
http://www.impeerator.de/coppermine/addpic.php?aid=56&pic_file=MDFfdGVzdC9iaWxkXzAwMS5KUEc
So I think somewhere in a php-file there is a mistake, but I can't find it...

Can somebody help me with these problems? The last problem is not that urgent, but I want to see this blue "OK" ;)

By the way, this is the site where I put in the mod: http://www.fh-pics.de But I have not put the watermark on the pictures yet.

I don't use a function watermark... so maybe you mixed up 2 different threads???
update your coppermine at least to 1.3.5 better 1.4.4

Stramm

Quote from: 2hoch5 on April 17, 2006, 11:01:27 AM
Hello,

i searched and searched and .......
but i can't find any watermark hack which can handle with groups.
i want that only selected groups see the watermarks.
it would be nice if someone can help me.

thanks

this is for CPG 1.3x and it's applying a permanent watermark. Means it's on the image, no matter for what group

2hoch5

Quote from: Stramm on April 17, 2006, 07:43:35 PM
this is for CPG 1.3x and it's applying a permanent watermark. Means it's on the image, no matter for what group

yes, i know. but is there a script whick can do that?
or is it possible that the "special" users can see the "backupped"
images which don't have a watermark?
i hope it is possible to understand me :D

Stramm

I don't know of any mod that'll do what you're looking for

and due to several reasons the 'show orig file for some groups' is messy (just think of these headwords: intermediate <-> fullsized, automatically resize fullsized image, on the fly resize etc.)

If however you still want to go for that... start with displayimage.php (below // Retrieve data for the current picture, do the necessary if clause and preg_replace or similar)

Impeerator

Quote from: Stramm on April 17, 2006, 07:42:02 PM
I don't use a function watermark... so maybe you mixed up 2 different threads???
update your coppermine at least to 1.3.5 better 1.4.4

Oh yes, that's possible. I first did the modifications from this thread, but I wanted the watermark to be transparent, and so I added your modifications from this thread. So I think I didn't remove everything from the first mod?

Can I update coppermine to the newest version without deleting my modifications?

Thanx for your answers :)

2hoch5

Quote from: Stramm on April 17, 2006, 11:07:02 PM
If however you still want to go for that... start with displayimage.php (below // Retrieve data for the current picture, do the necessary if clause and preg_replace or similar)

yes i still want to go for that :D....but i can't prog such thing :D
if anyone has an idea, please let me know.

THX

Stramm

Quote from: Impeerator on April 18, 2006, 12:43:57 AM
Oh yes, that's possible. I first did the modifications from this thread, but I wanted the watermark to be transparent, and so I added your modifications from this thread. So I think I didn't remove everything from the first mod?
As said, I think the same

QuoteCan I update coppermine to the newest version without deleting my modifications?
no, you'll have to apply the watermark mod for 1.4

ymca

Hi guys,

are there files that i can download to put in cpg 1.4.5 that will add permanent watermark?

or is there a plugin?

hope you can help,
thnx

Stramm

this thread is marked CPG1.3x, look for CPG1.4x watermark threads

mukoh

[Edit GauGau]
Warning, the below link is not worksafe. I wasn't able to spot coppermine-driven pages easily - just dropping a link to your site is bad, especially when linking to an adult site. Don't make supporters search your page. Post a deep link to coppermine-driven pages.
[/edit]

Stramm the plugin that I installed from you works good for watermarking. But all of a sudden coppermine started asking for some plugin to view full pic. What gives? It is at http://www.teenagegirlnude.com can you check  please?

Stramm

As GauGau I can't find a coppermine installation.
If a script works for quite some time then it's unlikely that it suddenly stops. Usually the culprit is external (changed system settings, full hd etc)

In your case I'd check my own computer. If you're running adult sites you should know how they work and that there are some not so nice guys amongst porn webmasters. Even your trades could throw forced malware installs on you. If not today than tomorrow. Now lnks are redirecting that always worked etc.

But as already mentioned without a link to your coppemine install no one would be able to help you.

mukoh

Stramm I apologise for the PM. Do you want me to give you the admin login and pass to the site? There are no trades on the site. But I don't even know where the plugin to show picture came from. Its a straight up mystery.

Stramm


mukoh

Here it is Stramm.
http://teenagegirlnude.com/gallery/  THE LINK IS NOT SAFE FOR WORK> :)

Stramm

somehow the script doesn't recognize your images as images anymore => when creating the displayimage page CPG checks for the content to be image, document, if neither of these both CPG assumes the content to be movie and embeds a movie player... that's your problem

Try setting
config -> Files and thumbnails advanced settings -> Allowed image types to ALL

Also properly setup your gallery ('URL of your coppermine gallery folder' is somehow important too)

mukoh

Stramm the thing is. It is all setup and images ALL as well. It was showing images just fine. Then stopped and started trying to play them as plugin.

docgonzo

Quote from: mukoh on May 02, 2006, 08:16:43 PM
Stramm the thing is. It is all setup and images ALL as well. It was showing images just fine. Then stopped and started trying to play them as plugin.
I just recovered from the same error...
Reupped original coppermine, ran update.php, everything worked normal (vanilla CPG)
After that, reupped the modpack, ran update.php again, and everything works like it should.

debragrant

problem:

I don't have / can't find $lang_config_php in english.php