1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2023-05-12 09:04:55 -03:00
parent 08922a8753
commit 4d94321929
2 changed files with 45 additions and 1 deletions

View file

@ -23,7 +23,7 @@ if (preg_match('/videos\/(.*\/)?(.*)_thumbs(V2)?.jpg/', $imageURL, $matches) &&
$file = $jpg;
if (preg_match('/_thumbsV2/', $imageURL)) {
_error_log("1 Image not found for {$imageURL} converting $jpg,{$global['systemRootPath']}{$imageURL}");
convertImageIfNotExists($jpg, $global['systemRootPath'] . $imageURL, $advancedCustom->thumbsWidthPortrait, $advancedCustom->thumbsHeightPortrait, true);
convertThumbsIfNotExists($jpg, $global['systemRootPath'] . $imageURL);
} else {
_error_log("2 Image not found for {$imageURL} we are using {$jpg} instead ");
}