It appears that you are not registered yet. Please click here to register for free!

Top Webloggers: daveincarthage.com - iowadawg.com
WebLoggers.org

Sponsored links



Go Back   WebLoggers WebLogging Forum > Design and Development > Blogging Tutorials

Reply
 
LinkBack Thread Tools Display Modes
Old 01-03-2006, 10:17 PM   #11 (permalink)
Member
 
adamnbates's Avatar
 
Join Date: Oct 2005
Posts: 69
adamnbates is on a distinguished road
Default Re: Watermark Images on the Fly in PHP

The link for watermark images is superb
adamnbates is offline   Reply With Quote
Old 01-05-2006, 05:53 PM   #12 (permalink)
Junior Member
 
Join Date: Oct 2005
Posts: 25
andyl is on a distinguished road
Default Re: Watermark Images on the Fly in PHP

Nice, but one thing to keep in mind is that GD can use up a ton of memory.
If the page has a lot of these kinds of pictures, you're going to run low on resources really quickly (depending on the amount of traffic you have).

I learned this the hard way when creating a similar script for thumbnails on a classifieds website.
andyl is offline   Reply With Quote
Old 01-07-2006, 02:38 PM   #13 (permalink)
Senior Member
 
saurab's Avatar
 
Join Date: Oct 2005
Posts: 159
saurab is on a distinguished road
Send a message via Yahoo to saurab
Default Re: Watermark Images on the Fly in PHP

caching images is the solution ......
__________________
My Blog (beta)
saurab is offline   Reply With Quote
Old 01-09-2006, 08:49 AM   #14 (permalink)
Junior Member
 
Join Date: Oct 2005
Posts: 25
andyl is on a distinguished road
Default Re: Watermark Images on the Fly in PHP

Quote:
Originally Posted by saurab
caching images is the solution ......

Well, what I was thinking is instead of loading the original image then watermarking it then displaying it, every time it loads, you'd be better off if you:

1. Check to see if an image is watermarked (filename?)
2a. If yes, then just display it.
2b. If no, load the image with GD
3. if 2b apply the watermark, save the file to a new spot, delete the original, then display it.

That way you're only applying the watermark once, not every single time the page loads for every single image.
andyl is offline   Reply With Quote
Old 01-30-2006, 12:32 PM   #15 (permalink)
Junior Member
 
Join Date: Jan 2006
Posts: 11
vrutant7287 is on a distinguished road
Default Re: Watermark Images on the Fly in PHP

yaaaaa
its very nice tut
may be i use those watermarks as background
vrutant7287 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The best way to save images? Wybe Imagery 11 03-26-2009 01:24 PM
bBlog - Free PHP Blogging Platform WebForging WebLogging Platform Reviews 0 02-18-2006 01:17 PM
PHP text counter thestudent Blogging Tutorials 10 01-30-2006 12:40 PM
HTTP AUTH with PHP and mySQL thestudent Blogging Tutorials 2 01-09-2006 09:09 AM
A Simple RSS Feed Phraser in PHP bbalegere WebLog Design & Programming 0 10-29-2005 11:08 AM


All times are GMT -5. The time now is 06:01 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2008Ad Management by RedTyger SEO by vBSEO 3.3.0