Link to item/show page from exhibit

I have an exhibit using the Rhythm theme and I would like the thumbnails to link out to each item's item/show page, rather than just a full sized version of the image like it is doing now ( I'd rather it link to here: Any advice on how to get that to work would be appreciated. Thanks.

Here's a way assuming you're using Omeka 1.5.3.

In your Omeka installation, navigate to and open plugins/ExhibitBuilder/helpers/ExhibitFunctions.php. Jump to line 481 where it says

$displayFilesOptions['linkAttributes']['href'] = exhibit_builder_exhibit_item_uri($item);

and replace it with

$displayFilesOptions['linkAttributes']['href'] = item_uri();

Now every ExhibitBuilder item should link directly to the regular items/show view.

Thanks - I tried that and it is still just opening a larger image of the jpg. See here: Any other suggestions?

Hmm, with the first response I was hoping to link items on an exhibit page directly to the regular items/show page, so from here: to here: Not sure why that didn't work. If this solution appeals to you, I can try to troubleshoot my first answer.

If you just want the exhibit item view to link to the regular item view, here's what worked for me:

1) Go to your theme directory, create the folder "exhibit-builder", then an "exhibits" folder within that.

2) Create a new file called "item.php". The filepath should be rhythm/exhibit-builder/exhibits/item.php

3) Copy the contents of plugins/ExhibitBuilder/views/public/exhibits/item.php into rhythm/exhibit-builder/exhibits/item.php.

4) In the "item.php" file within your theme, go to line 12 where you see

<?php echo display_files_for_item(); ?>

and replace it with

<?php if (item_has_files()): ?>
    <?php echo link_to_item(item_thumbnail()); ?>
<?php endif; ?>