Permanent Watermark with GD2 - Page 3 Permanent Watermark with GD2 - Page 3
 

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

Permanent Watermark with GD2

Started by Burpee, June 20, 2004, 11:43:25 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

fedexx

I know the answer that is going to give GauGau to me but of all ways I ask myself in case somebody attempt. Works this add for cpg nuke? ::)

Tranz

If you know the answer, why do you ask? Try out the mod for yourself. People are here because they are using and developing the standalone version of Coppermine. You expect them to test it out on cpgnuke? Also, cpgnuke does have its own forums.

fedexx

ok thanks to be SO amiable, TranzNDance

Tranz

You're welcome. Thank you for being so considerate of our time.

fedexx

If I consider its time coverall yours. who must of be SO imporatant... excuse me nonwise that spoke with a so huge man...  :-\\ ;D

maria

Hi! I need obtain that watermark is added to the photos that I raise with of the batch, they excuse if I am annoying but I am new in this forum and I need do this for my CPG. Thanks

Tranz

Maria, I'm sorry, but what is your question? The instructions for the mod are on page 1 of this thread.

mrsandman

ive installed the hack bu dont have a watermark.png. ok i dont know how to create my watermark.png?? i just want a text, simple tutorial please.

Tranz

It would depend on what imaging software you have. You could do a search in a serach engine for something like "create watermark photoshop" if you have Photoshop.

mrsandman

i dont use an imaging software. i just upload off my camera. cant i use php and gd to do this?

Burpee

Perhaps http://www.cooltext.com/ could be a solution for you... try rendering it as a .PNG with transparency...

mrsandman


maria

TranzNDance thanks already reesolve my problem, but i have a new one,: ( but I am going to postear it in 1,2 forum CPG Standalone Support because it does not go with this subject
bye !

yemgi

Hi all,

I have just installed this mod but I can't get it work :(

When I try watermarking existing images, here is what I get :
Warning: imagesx(): supplied argument is not a valid Image resource in /home/httpd/vhosts/bahamutcars.com/httpdocs/subdomains/galleries/include/picmgmt.inc.php on line 305

Warning: imagesy(): supplied argument is not a valid Image resource in /home/httpd/vhosts/bahamutcars.com/httpdocs/subdomains/galleries/include/picmgmt.inc.php on line 306

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/httpd/vhosts/bahamutcars.com/httpdocs/subdomains/galleries/include/picmgmt.inc.php on line 323

Warning: imagejpeg(): Unable to open 'albums/divers/banni_re_internet.jpg' for writing in /home/httpd/vhosts/bahamutcars.com/httpdocs/subdomains/galleries/include/picmgmt.inc.php on line 324
albums/divers/banni_re_internet.jpg modifié avec succès!


In the Configuration Menu, watermarking remain on Off and the watermak path is empty, I looked int the database and the values are OK.

Have I done something wrong ?

Edit :
I am runinng CPG1.3.2 with IPB2.0 bridge
GD2 is enabled

DaRichMan

Quote from: yemgi on October 21, 2004, 02:33:59 PM
Hi all,

I have just installed this mod but I can't get it work :(

When I try watermarking existing images, here is what I get :
Warning: imagesx(): supplied argument is not a valid Image resource in /home/httpd/vhosts/bahamutcars.com/httpdocs/subdomains/galleries/include/picmgmt.inc.php on line 305

Warning: imagesy(): supplied argument is not a valid Image resource in /home/httpd/vhosts/bahamutcars.com/httpdocs/subdomains/galleries/include/picmgmt.inc.php on line 306

Warning: imagecopy(): supplied argument is not a valid Image resource in /home/httpd/vhosts/bahamutcars.com/httpdocs/subdomains/galleries/include/picmgmt.inc.php on line 323

Warning: imagejpeg(): Unable to open 'albums/divers/banni_re_internet.jpg' for writing in /home/httpd/vhosts/bahamutcars.com/httpdocs/subdomains/galleries/include/picmgmt.inc.php on line 324
albums/divers/banni_re_internet.jpg modifié avec succès!


In the Configuration Menu, watermarking remain on Off and the watermak path is empty, I looked int the database and the values are OK.

Have I done something wrong ?

Edit :
I am runinng CPG1.3.2 with IPB2.0 bridge
GD2 is enabled

I've got the same errors. Anyone?

alfisti.net

Thanks Burpee :)
I love it and all work fine with photos, but I have problems with uploading videos.
Setting videos to the database work only when I disable the watermarking.
Have I made a mistake or this this "normal".
If it is normal, is there a way to ask for the type of file in the script so that videos don´t get a watermark and make trouble?

Regards
André

MikaK

#56
This is a very well written mod.

A small glitch however: If currently used when also uploading video files, the infamous "File could not be placed" when trying to upload videos is created if the watermarking is used for the originals.

Would there be any way to get around this problem? Somehow selectively only to watermark images but not videos (naturally ;D - but how ???)

Best regards,
-MikaK

DaRichMan

Still getting errors like:
Warning: imagesy(): supplied argument is not a valid Image resource in ../include/picmgmt.inc.php

Does anyone know what's wrong?

yemgi

I found one of my errors : my gallery was not using the database I thought  ??? ::)
The configuration menu is now OK
The watermaking is now OK for the uploads
Only problem I still have is when trying to watermark existing pics, it doesn't work and I have the following error :
Warning: imagejpeg(): Unable to open 'albums/divers/banni_re_internet.jpg' for writing in /home/httpd/vhosts/bahamutcars.com/httpdocs/subdomains/galleries/include/picmgmt.inc.php on line 324
albums/divers/banni_re_internet.jpg modifié avec succès!

Warning: imagejpeg(): Unable to open 'albums/divers/banni_re_internet.jpg' for writing in /home/httpd/vhosts/bahamutcars.com/httpdocs/subdomains/galleries/include/picmgmt.inc.php on line 324
albums/divers/banni_re_internet.jpg modifié avec succès!

tanfwc

Quote from: yemgi on October 24, 2004, 12:18:12 AM
I found one of my errors : my gallery was not using the database I thought ??? ::)
The configuration menu is now OK
The watermaking is now OK for the uploads
Only problem I still have is when trying to watermark existing pics, it doesn't work and I have the following error :
Warning: imagejpeg(): Unable to open 'albums/divers/banni_re_internet.jpg' for writing in /home/httpd/vhosts/bahamutcars.com/httpdocs/subdomains/galleries/include/picmgmt.inc.php on line 324
albums/divers/banni_re_internet.jpg modifié avec succès!

Warning: imagejpeg(): Unable to open 'albums/divers/banni_re_internet.jpg' for writing in /home/httpd/vhosts/bahamutcars.com/httpdocs/subdomains/galleries/include/picmgmt.inc.php on line 324
albums/divers/banni_re_internet.jpg modifié avec succès!


What is the correct permission for "albums/divers"? It can't open up for writing. Make sure it is chmod to 777.
tanfwc
[ + ] My HomePage
[ + ] GuestBook
[ + ] Photo Gallery
[ + ] Free Image Hosting