Thanks Roy theme thumbnails

Hi everyone,

How can I change the thumbnail to rectangular instead of square in the Thanks Roy theme?

Thanks much

What particular view do you mean?
For the items browse view in the Thanks Roy theme, you have to modify the /items/browse.php file. The theme uses the default one so you will need to do two things:

  1. copy the file: application/views/scripts/items/browse.php to themes/thanksroy/items/browse.php
  2. modify the newly copied file browse.php:
    replace the item_image() function parameter (around line 35) from:

<?php echo link_to_item(item_image('square_thumbnail')); ?>

to

<?php echo link_to_item(item_image('thumbnail')); ?>

thank you @miniol everything worked fine.