Defined code to render images and create sample code to upload images.