Fixed api image upload