bash script for uploading images to imgsea