HOWTO: limit size of random image block (quick hack)

joe7rocks
joe7rocks's picture

Joined: 2004-10-07
Posts: 560
Posted: Mon, 2013-10-07 01:09

In modules/image_block/views/image_block_block.html.php

replace

<?= $item->thumb_img(array("class" => "g-thumbnail")) ?>

with

<?= $item->thumb_img(array("class" => "g-thumbnail", "style" => "width:200px;height:auto")) ?>

Dog Photos | Gallery2 Themes Demo