Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Coppermine ⇒ Watermark in coppermine album for cpg nuke


Watermark in coppermine album for cpg nuke
Please post bugs in the Projects Module.
Post anything and everything else about Coppermine in this forum.

Go to page 1, 2  Next
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & BlocksCoppermine

View previous topic :: View next topic  
Author Message
kleppen
Newbie
Newbie

Offline Offline
Joined: Dec 18, 2004
Posts: 7
Location: sweden
PostPosted: Sat Dec 18, 2004 6:07 pm
Post subject: Watermark in coppermine album for cpg nuke

Hello
I really need a function that watermarks pictures and photos that users uploads.
Adding my domain address on every photo/image
Because when I am uploading photos visitors steels them..
and put them on their sites..
Please can any one help me... I really need it...


kleppen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
apache, mysql, cpg nuke 9.0
Back to top
View user's profile Visit poster's website
masterbeta
Translator
Translator

Offline Offline
Joined: May 12, 2004
Posts: 1049
Location: Reading, PA
PostPosted: Sat Dec 18, 2004 7:57 pm
Post subject: Re: Watermark in coppermine album for cpg nuke

well, when a user submits their own photo onto coppermin/cpg/cms site's, it IS the user's own photo

the site does not own that photo since in doing so it would violate the user's intellectual copyrights...unless you specify that once uploaded it's the site's property - which will hinder people's uploads...

a watermark is a cool idea so people will know where the photo's come from in order to promote your site, but imo an absolutely awful idea if you want to "own" people's photos...

i haven't looked into this but you can ask your server for help on how gd works (or as crazy as it sounds, do a search) : )

either way, once a watermark is available use it wisely, not for gain

_________________
[]D [] []\/[] []D
Check out my bear site - www.insidebear.com

masterbeta's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
RHL7 2.6.9-67.0.15ELsmp/A1.3.41(Unix)/MySQL4.1.22-standard/PHP5.2.5-ZO/Dragonfly 9.1.2.1
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sat Dec 18, 2004 8:22 pm
Post subject: Re: Watermark in coppermine album for cpg nuke

Hmm maybe someone can make it more like this:

uploaded by <username> to www.something.com


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
kleppen
Newbie
Newbie

Offline Offline
Joined: Dec 18, 2004
Posts: 7
Location: sweden
PostPosted: Sun Dec 19, 2004 12:53 am
Post subject: Re: Watermark in coppermine album for cpg nuke

yes... the server I used supports GD 1 and 2..
And what DJMaze wrote it would be cool to have it like that..
Uploaded by: user @ www.domain.com
Any one know how to make that function?
Because I can´t write php..
hehe


kleppen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
apache, mysql, cpg nuke 9.0
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sun Dec 19, 2004 7:11 pm
Post subject: Re: Watermark in coppermine album for cpg nuke

"Uploaded by: user @ www.domain.com"

Is added to CVS


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: Sun Dec 19, 2004 11:29 pm
Post subject: Re: Watermark in coppermine album for cpg nuke

How about adding a text option in the admin config. Or how would I change it to put a logo or text "sample" or "proof" on it instead? A watermark is a watermark so at least it will be in there but a customized text or watermark is better for admin uploaded images.

Perhaps have a special dedicated folder that everything inside gets a special logo or text watermark. That would be an eye opening feature for cpg.

I've already explained what I need it for. I'm thinking about my needs as well as the general needs of public admins.


djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.4/4.3.11
Back to top
View user's profile Visit poster's website Photo Gallery
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Mon Dec 20, 2004 12:04 am
Post subject: Re: Watermark in coppermine album for cpg nuke

I've didn't implement that on purpose.
There's a lot todo with copyrights and you never know who is the copyright holder, or do you ?

So the option for graphical watermarking and custom text isn't there.
If you know a way to avoid abuse of copyrights then go ahead and edit gd2.inc and post you results in the forums including an url or attachment with the modified files


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
shenphen
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: May 19, 2004
Posts: 378
Location: Europe
PostPosted: Tue Mar 08, 2005 12:07 pm
Post subject: Re: Watermark in coppermine album for cpg nuke

Did anyone implemented this? I don't like the "uploaded by:...".
At least, I would prefer to have only: "copyright &web site name" (since on our site users do not upload their own photo anyhow).

Thank you.


shenphen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.29 (Unix) / MySQL 4.0.24 / PHP v.4.3.10 / 9.0.4 (browser: Firefox 1.0.4)
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Tue Mar 08, 2005 1:32 pm
Post subject: Re: Watermark in coppermine album for cpg nuke

Yes and you can modify the text written to the image in db_input.php line 443

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
shenphen
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: May 19, 2004
Posts: 378
Location: Europe
PostPosted: Tue Mar 08, 2005 3:24 pm
Post subject: Re: Watermark in coppermine album for cpg nuke

Thank you Akamu Smile

It seems my file isn't the same. In db_input.php, line 443, it's different. Is it possible I do not have the latest file?
*** I've got it from CVS now... But I'm not sure what to change to get: "all right reserved to {my site name}"?

It leads me to an other question: since several files are modified, improved, how to do that all my files remain up to date?

Thank you Smile


shenphen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.29 (Unix) / MySQL 4.0.24 / PHP v.4.3.10 / 9.0.4 (browser: Firefox 1.0.4)
Back to top
View user's profile Visit poster's website
shenphen
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: May 19, 2004
Posts: 378
Location: Europe
PostPosted: Tue Mar 08, 2005 4:30 pm
Post subject: Re: Watermark in coppermine album for cpg nuke

Oups... I've replaced the file db_imput.php. Now, when I try to upload, I get the following error:
Quote::

Fatal error: Undefined class name 'l10ntime' in /homepages/2/{mysitepath}/modules/coppermine/db_input.php on line 440

That line is:
Code::
$tolocal = L10NTime::tolocal(gmtime(), $userinfo['user_timezone']) ;

I also got an error when uploading new picture Sad

Why? Did I do a mistake? Or may be an other file has to be loaded as well so that all works fine?

I uploaded the last version I add, and all came back to normal... Sad I guess I should uploaded a bunch of file so that they all work together fine. Is it?


shenphen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.29 (Unix) / MySQL 4.0.24 / PHP v.4.3.10 / 9.0.4 (browser: Firefox 1.0.4)
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Tue Mar 08, 2005 10:03 pm
Post subject: Re: Watermark in coppermine album for cpg nuke

can you update to latest cvs package it seems you are missing includes/classes/time.php and the code that loads it...

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
shenphen
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: May 19, 2004
Posts: 378
Location: Europe
PostPosted: Tue Mar 08, 2005 10:55 pm
Post subject: Re: Watermark in coppermine album for cpg nuke

I'll do this. Which package? I mean, should I upload all possible CVS files or just some of them?


shenphen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.29 (Unix) / MySQL 4.0.24 / PHP v.4.3.10 / 9.0.4 (browser: Firefox 1.0.4)
Back to top
View user's profile Visit poster's website
Śyama_Dāsa
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Tue Mar 08, 2005 11:11 pm
Post subject: Re: Watermark in coppermine album for cpg nuke

never mix versions. If you have made modification and need to add those to the newest files then is best to use winmerge or something to diff them... with some sftp/ftp programs you can specify only to upload files with a newer file date....

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
shenphen
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: May 19, 2004
Posts: 378
Location: Europe
PostPosted: Tue Mar 08, 2005 11:17 pm
Post subject: Re: Watermark in coppermine album for cpg nuke

Thank you. But I don't know how to do not mix files, because I did modifications, and I don't know any ftp which upload files placing them at the right place and only those with newer date. Do you know any?

And... where to find all files to be downloaded at once? Should we download them one by one? (hope not!).

Thank you Smile


shenphen's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.29 (Unix) / MySQL 4.0.24 / PHP v.4.3.10 / 9.0.4 (browser: Firefox 1.0.4)
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & BlocksCoppermine
Page 1 of 2
All times are GMT
Go to page 1, 2  Next



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

читај повеќе...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy