|   |   |   | ||||
| Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. | 
|    | 
| 
 | |||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. | 
|  | Thread Tools | 
|  10-26-2010, 09:20 AM | #1 | 
| Confirmed User Industry Role:  Join Date: Nov 2003 Location: Toronto 
					Posts: 4,001
				 | 
				
				GD2 image watermarking question
			 With GD2 does the script automatically watermark anything in say a certain directory? Or do you actually have to run a script to watermark the images permanently? Like if I put a bunch of images in a folder and and view them on the net would they automatically have the watermark, and when i download them back from ftp the watermark will be gone? | 
|   |           | 
|  10-26-2010, 09:23 AM | #2 | 
| Confirmed User Join Date: Jun 2009 Location: Asheville, NC 
					Posts: 2,277
				 | Are you referring to the GD2 Image Library? Or has someone named their script after the GD2 Image Library? 
				__________________ ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com | 
|   |           | 
|  10-26-2010, 09:39 AM | #3 | 
| Confirmed User Industry Role:  Join Date: Nov 2003 Location: Toronto 
					Posts: 4,001
				 | Yah GD2 image library | 
|   |           | 
|  10-26-2010, 09:40 AM | #4 | 
| Confirmed User Industry Role:  Join Date: Nov 2003 Location: Toronto 
					Posts: 4,001
				 | Basically I want to watermark any images on the server in a certain directory without having to run a script, it should basically say hey this image is in this directory so it needs this watermark, and places it over it automatically, but if you dl the file in ftp, it has no watermark. | 
|   |           | 
|  10-26-2010, 09:42 AM | #5 | 
| Registered User Industry Role:  Join Date: Oct 2009 
					Posts: 2,653
				 | mister lucius... | 
|   |           | 
|  10-26-2010, 09:44 AM | #6 | |
| Registered User Industry Role:  Join Date: Oct 2009 
					Posts: 2,653
				 | Quote: 
 the only way I could see images getting watermarked in a folder automatically is if it was attached to the upload script itself or if it was a script ran through a cronjob In either case, you'd need to keep a separate (original) folder with all the original unwatermarked files, and a separate watermarked folder... Might be able to find something online to facilitate this - otherwise it would be a pretty basic job for a scriptlance indian to take on - 50-60$ - 1 day turn around. | |
|   |           | 
|  10-26-2010, 09:51 AM | #7 | 
| Confirmed User Industry Role:  Join Date: Nov 2003 Location: Toronto 
					Posts: 4,001
				 | mr brucius, not good enough... okay? | 
|   |           | 
|  10-26-2010, 10:04 AM | #8 | 
| Confirmed User Join Date: Jun 2009 Location: Asheville, NC 
					Posts: 2,277
				 | It shouldn't take more than a couple hours to whip up a simple watermarking script.  An experienced developer should probably have a code bit just laying around to handle it. If you know PHP at all it can literally be done in about 10 lines of code... Just Google, "PHP script gd watermark" and there's a plethora of free ones out there. 
				__________________ ICQ: 258-202-811 | Email: eric{at}bestxxxporn.com | 
|   |           | 
|  10-26-2010, 10:11 AM | #9 | 
| <&(©¿©)&> Industry Role:  Join Date: Jul 2002 Location: Chicago 
					Posts: 47,882
				 | you need a script, it's not going to happen by itself.. 
				__________________ Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager  Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager | 
|   |           | 
|  10-26-2010, 10:13 AM | #10 | 
| Confirmed User Industry Role:  Join Date: Apr 2006 Location: Germany 
					Posts: 4,323
				 | It can be done with htaccess and php. 
				__________________ --- ICQ 14-76-98 <-- I don't use this at all | 
|   |           | 
|  10-26-2010, 10:40 AM | #11 | 
| Confirmed User Industry Role:  Join Date: Aug 2002 Location: USA 
					Posts: 460
				 | |
|   |           | 
|  10-26-2010, 11:18 AM | #12 | 
| Confirmed User Join Date: Dec 2007 Location: Chatsworth, CA 
					Posts: 1,964
				 | GD2 is a library not a script.  You will need to have code that actually uses it in order to watermark. When you watermark the image it will modify it. So you have an original and you save an alternate version. As long as you only upload the watermarked version there is no way for them to get at the original. | 
|   |           | 
|  10-26-2010, 11:28 AM | #13 | 
| Confirmed User Industry Role:  Join Date: Nov 2003 Location: Toronto 
					Posts: 4,001
				 | Alright thanks everyone except for brucius | 
|   |           |