basic setup for uploading images done