added test and method to get base64 version of image
instead of making a request for each image, put the base64 version of each image into the page