Add image to gallery on upload