how can this be done automatically, say - for a picture gallery.
the user uploads full size image.
behind the scenes i send it elsewhere for optimization or use functions to optimize it?
then store the new file.
i already have on my site, a way of resizing the image to fit my pages. but that's not optimizing it.
Edit: Nothing that can be considered offensive in the signature, please. // liorean