Skip to content

Commit

Permalink
thumbnail_gd.inc.php
Browse files Browse the repository at this point in the history
  • Loading branch information
satopian committed Nov 2, 2024
1 parent 29d416b commit d208cab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion potiboard5/thumbnail_gd.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static function thumb($path,$fname,$time,$max_w,$max_h,$options=[]){
if(!gd_check()||!function_exists("ImageCreate")||!function_exists("ImageCreateFromJPEG")){
return;
}
if((isset($options['webp'])||isset($options['thumbnail_webp'])) && (!function_exists("ImageWEBP")||version_compare(PHP_VERSION, '7.0.0', '<'))){
if((isset($options['webp'])||isset($options['thumbnail_webp'])) && (!function_exists("ImageWEBP") || version_compare(PHP_VERSION, '7.0.0', '<'))){
return;
}

Expand Down

0 comments on commit d208cab

Please sign in to comment.