图片转 base64 编码显示(PHP)

php<img src="data:image/jpg;base64,<?= base64_encode(file_get_contents(__DIR__.'/ruchee.jpg')) ?>">
相关文章
相关标签/搜索