Im using Omeka 2.4.1 and the Berlin Theme and the Lightbox Package. I am trying to change the thumbnails on the items/show pages from square thumbnails to regular thumbnails.
I’ve tried to change the code in berlin/items/show.php to:
You should put the image size as the second parameter, so it should go like this:
> <?php echo item_image_gallery(array('link'=>array('data-lightbox'=>'lightbox')), 'thumbnail'); ?>
The common problem of both the functions and lightbox is, that the lightbox takes the image url from the “href” property of the <a> tag, so this is the ‘original’ file by default. In my case this is usually a large file that makes lightbox to dramatically slow down. I wonder if there is a way to generate url for the ‘fullsize’ image instead, using one of the functions? So far I had to do it a different way.