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.