upload images from pieces