I have an service which returns the base64 version of an image. Now i want to use the base64 string in the src tag of an img. The service offers the ba
src
img
For base64 encoded .png and .jpg images, to remove single quotes use utf-8 while encoding.
.png
.jpg
utf-8
Example:
src="data:image/jpeg;base64,iVBORw0KG...."