Skip to content

Commit

Permalink
pwa_Plugin - използване на коректен sourceType за URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuseinov committed Feb 28, 2020
1 parent bbe49e6 commit b401e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwa/Plugin.class.php
Expand Up @@ -40,7 +40,7 @@ public function act_Default()
foreach ($iconSizes as $size) {
if ($imageUrl) {
// Създаваме thumbnail с определени размери
$thumb = new thumb_Img(array($imageUrl, $size, $size, 'path', 'mode' => 'small-no-change'));
$thumb = new thumb_Img(array($imageUrl, $size, $size, 'url', 'mode' => 'small-no-change'));
$tempArray = array();
$img = $thumb->getUrl('deferred');
$tempArray['src'] = $img;
Expand Down

0 comments on commit b401e83

Please sign in to comment.