fixed gallery image storage,e,No more temprorary files