Converted image to base64 for faster rendering