-
-
Save parzibyte/8514f0047f9082d9860052eebddface1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$nombreImagen = "capitan.png"; | |
$imagenBase64 = "data:image/png;base64," . base64_encode(file_get_contents($nombreImagen)); | |
?> | |
<body> | |
Aquí una imagen: | |
<br> | |
<img src="<?php echo $imagenBase64 ?>" /> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment