I am using a LAMP server to host an ecommerce system. In that system, I use an dynamic image thumbnailing and modification script to add watermarks to product images.
Using that ecommerce system, I am also uploading a products feed to Google. One of the requirements for the feed specification is that the image must have a standard image file extension, such as .jpg, .png, or .gif.
I would like to use the dynamic script to return a watermarked image to Google when it references an image file name.
For instance, if the Google feed is looking for:
it will call
and deliver the proper watermarked/modified image back to Google for inclusion into the products indexing system.
Is there a was to use a mod_rewrite or other type of technique to make this happen and still make it look like it is delivering the proper image file type?