mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
优化水印处理
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user