Upload works for gallery mode