upload thumbnails together with attachments