mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
update
This commit is contained in:
parent
08922a8753
commit
4d94321929
2 changed files with 45 additions and 1 deletions
|
@ -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 ");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue