added image get and upload
added auto image resize