Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit bbd1bb4

Browse files
committed
fixes #6 matching resolution arrays from only rendering fallback
1 parent 64b73f7 commit bbd1bb4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Extension.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,11 @@ function resolutionErrors($thumb, $resolutions)
276276
$resError = array_combine($newThumbArray, $resolutions);
277277
}
278278

279+
if ($resCount === $thumbCount ) {
280+
$resError = array_combine( $thumb, $resolutions);
281+
}
282+
283+
279284
return $resError;
280285
}
281286

0 commit comments

Comments
 (0)