优化水印处理

This commit is contained in:
augushong
2024-05-20 10:05:13 +08:00
parent 49015e3ec8
commit 1d421af217
2 changed files with 45 additions and 2 deletions

View File

@@ -50,7 +50,9 @@ class PostShow
$src = $dom_img->attr('src');
$src = get_source_link($src);
if (strpos($src, 'data:image') !== 0) {
$src = get_source_link($src);
}
$watermarked_file_save_name = Image::handelWatermarkSave($src);