Created EncodedImages to encode images into the HTML document.