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 ... 10 11 12 13 [14] 15   Go Down

Author Topic: Permanant watermark with undo possibility (GD2+IMagick)  (Read 273542 times)

0 Members and 1 Guest are viewing this topic.

Impeerator

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • FH-Pics - Die Partybilder-Website
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #260 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.
« Last Edit: April 16, 2006, 07:54:19 pm by Impeerator »
Logged

2hoch5

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #261 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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #262 on: April 17, 2006, 07:42:02 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

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #263 on: April 17, 2006, 07:43:35 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #264 on: April 17, 2006, 10:28:18 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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #265 on: April 17, 2006, 11:07:02 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • FH-Pics - Die Partybilder-Website
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #266 on: April 18, 2006, 12:43:57 am »

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 :)
Logged

2hoch5

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #267 on: April 18, 2006, 01:21:38 am »

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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #268 on: April 18, 2006, 08:25:49 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

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

ymca

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 79
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #269 on: April 29, 2006, 05:07:12 pm »

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
« Last Edit: April 29, 2006, 05:17:36 pm by ymca »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #270 on: April 29, 2006, 05:27:41 pm »

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

mukoh

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #271 on: May 02, 2006, 08:48:09 am »

[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?
« Last Edit: May 02, 2006, 08:54:13 am by GauGau »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #272 on: May 02, 2006, 09:35:29 am »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #273 on: May 02, 2006, 06:51:00 pm »

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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #274 on: May 02, 2006, 06:56:02 pm »

a link to the gallery would be a good start

mukoh

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #275 on: May 02, 2006, 07:12:43 pm »

Here it is Stramm.
http://teenagegirlnude.com/gallery/  THE LINK IS NOT SAFE FOR WORK> :)
« Last Edit: May 02, 2006, 07:37:58 pm by mukoh »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #276 on: May 02, 2006, 07:42:41 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #277 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.
Logged

docgonzo

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #278 on: June 14, 2006, 01:44:06 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.
Logged

debragrant

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 127
Re: Permanant watermark with undo possibility (GD2+IMagick)
« Reply #279 on: July 16, 2006, 08:07:13 pm »

problem:

I don't have / can't find $lang_config_php in english.php
Logged
Pages: 1 ... 10 11 12 13 [14] 15   Go Up
 

Page created in 0.032 seconds with 19 queries.