Skip to content

Commit

Permalink
ENH: thumbnail size in subpages list
Browse files Browse the repository at this point in the history
  • Loading branch information
glpzzz committed Nov 25, 2019
1 parent 4ab1dcb commit d487237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/backend/page/_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
use yii\helpers\Html;

$thumbnailUrl = isset($model->image)
? Yii::$app->thumbnailer->get($model->image, 75)
: Yii::$app->thumbnailer->get(Yii::getAlias('@web/images/no-image.png'), 75);
? Yii::$app->thumbnailer->get($model->image, 75, 75)
: Yii::$app->thumbnailer->get(Yii::getAlias('@web/images/no-image.png'), 75, 75);

?>

Expand Down

0 comments on commit d487237

Please sign in to comment.