upload with thumbnails working