upload images including thumbnails