I have a base64 encoded string that I would like to convert into an image in PHP / HTML.
Here is what I have:
$data = \"R0lGODdhAAGAAKIAAP38+/3h3cj
In the first case you should add this before echoing the decoded image data:
header("Content-type: image/gif");
In the second case, use this instead:
echo '';