This commit is contained in:
Cristy
2025-02-24 21:45:53 -05:00
parent 90acf73ad5
commit cb9c7de9ae
+1 -1
View File
@@ -4674,7 +4674,7 @@ MagickExport Image *ThumbnailImage(const Image *image,const size_t columns,
}
(void) DeleteImageProperty(thumbnail_image,"comment");
url_encode(thumbnail_image->magick_filename,uri);
if (strstr(thumbnail_image->magick_filename,"//") == (char *) NULL)
if (strstr(thumbnail_image->magick_filename,"//") != (char *) NULL)
(void) FormatImageProperty(thumbnail_image,"Thumb::URI","file://%s",uri);
else
(void) FormatImageProperty(thumbnail_image,"Thumb::URI","./%s",uri);