I am trying to find some code that showed how the images are added to the image gallery, but I can not trace the steps that are taken, or tell how the image or metadata is kept on each image. Also how is the image handled, is it copied to a directory and
then renamed, thumbnail created, etc. I would like to build a shell extension to winxp that would allow you to right click an image and have a send to StarterKit or some witty name. This could possibly be implemented as a web service or something similiar.
There are many mods that the gallery could use such as a metadata reader for the images or a submit to shutterfly. But I have to understand how the images are stored and retrieved first.
Dec 8, 2006 at 8:25 AM
when adding an image to an image gallery, the event btnSaveDetails_Click in SectionControls/Gallery.ascx.cs will be called. In this handler you can see how the image path will be built.
For each Section (Image Gallery) there will be a directory:
The image properties are saved in:
The Thumbnail images are rendered just in time:
The UserControl is included in SectionControls/Gallery.ascx:
<cc1:ResizedImage runat="server" ID="imgThumbnail" ...
The code behind for the ResizedImage control is located at:
I hope the information above is what you were looking for.
For further assistance let me know.