upload image and code editor