图片转 base64 编码显示(PHP)

php<img src="data:image/jpg;base64,<?= base64_encode(file_get_contents(__DIR__.'/ruchee.jpg')) ?>">

评论

暂无评论