a patch just went in to cvs so that if the image gallery isn't writable the thumbnails will be created in the users home dir. there may also be a setup option to turn this on when the image gallery is writable but i haven't looked at that.