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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-05-2011, 06:00 PM   #1
Dennis69
Confirmed User
 
Join Date: Feb 2003
Location: Dreamland
Posts: 1,685
Server Side Watermark Script Needed

I was wondering if there is a script which I can drop into a dir server side and add a watermark to photos, I don't want to do over a 1/4 million pictures by hand
__________________
HaHaHa
Dennis69 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-05-2011, 10:30 PM   #2
Jakez
Confirmed User
 
Jakez's Avatar
 
Industry Role:
Join Date: Jan 2004
Location: oddfuturewolfgangkillthemall!!!!!!!
Posts: 5,656
You could do this with .htaccess, any image in the directory that is called or shown will be automatically rendered on the fly with a watermark, and you don't even have to watermark the actual image, which is good so you won't have watermarks in your cropped thumbs later. Sorry I couldn't find which htaccess file I have it in though
__________________
[email protected] - jakezdumb - 573689400

Killuminati

Last edited by Jakez; 04-05-2011 at 10:32 PM..
Jakez is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-06-2011, 06:34 AM   #3
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,480
Quote:
Originally Posted by Dennis69 View Post
I was wondering if there is a script which I can drop into a dir server side and add a watermark to photos, I don't want to do over a 1/4 million pictures by hand
use imagemagick.

Code:
composite -gravity southeast -quality 90 -dissolve 50 watermark.png image.jpg newimage.jpg
that would be the watermark in the bottom right.

first: backup the originals

second: goto the dir of images you wanna watemark (also make sure your watermark.png is in this folder)

Code:
find . -name "*jpg" -type f -exec composite -gravity southeast -quality 90 -dissolve 50 watermark.png {} {} \;
hope this helps.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Cam Feeds Script
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.