But I don't want to use the upload button, because then I can not programatically insert images into the gallery. What is the use of a simple file based gallery if you have to have a person manually upload images? I would be satisfied to be able to manually call the generate thumbnail routines on the object from my C# code.