I love the embedded BinaryImage controls, but I have a situation where I need to do a little bit of processing with an image after the upload.
Here's the scenario; I have a hierarchical grid; the second tier contains zero or more images related to the master table. What I'd like to do is this; when I insert or replace an image, I'd like to resize the image to an appropriate size for my app, create a thumbnail of the image, and add a watermark image to the larger version. The image manipulation would be done with a third-party control (I'm using ImgWriter), so basically what I need to do is identify when an image has been uplaoded, get the image out into an object, manipulate it, and then save it back (along with updating another column).
I'm wondering where I could attach this processing? Also, since the table I want to update is the second-level table, how do I respond only when the second level table is updated?
TIA.
Here's the scenario; I have a hierarchical grid; the second tier contains zero or more images related to the master table. What I'd like to do is this; when I insert or replace an image, I'd like to resize the image to an appropriate size for my app, create a thumbnail of the image, and add a watermark image to the larger version. The image manipulation would be done with a third-party control (I'm using ImgWriter), so basically what I need to do is identify when an image has been uplaoded, get the image out into an object, manipulate it, and then save it back (along with updating another column).
I'm wondering where I could attach this processing? Also, since the table I want to update is the second-level table, how do I respond only when the second level table is updated?
TIA.