add uploaded images to gallery