Gallery image uploading to the specified output directory