Page 1 of 1

watermark on the fly?

Posted: Thu Mar 02, 2006 10:01 am
by ed209
on my site I need to store images submitted by various users. Some of them will want to apply a watermark, but I'd like to keep a copy on the server incase there is a need to use a non-watermarked version of a particular image.

I guess my 2 options are:

1. Watermark the default image on upload, store a non-watermarked version on the server.
2. Upload the file, but only watermark it when it has been requested, if requested with a watermark.

Most pages will only require 1 watermarked file, but some pages may have a slide show requiring 20+ images (loaded into a flash app) some watermarked, some not - depending on the user.

Option 2 would also require me to store the watermark information in the database for each image.


What would you do? Thoughts appreciated.

Posted: Thu Mar 02, 2006 10:25 am
by alex.barylski
I would use the dynamic approach...but I guess it depends on how complex your watermark is...