Zoom.it 2.0 in ExhibitBuilder

I'm wondering if there's a way to embed the Zoom.It viewer in public exhibit item show pages.

We're building an exhibit of items from various map collections and we'd like to offer the Zoom.it viewer in exhibit item pages.

Has anyone does this, or have any ideas about how we could do it?

Thanks for any suggestions!

Btw, we're on Omeka v.2.0.2

Is there a better forum where I should direct this question? I'm hoping someone can point me in the right direction.

Thanks for any reply!

I want embed the Zoom.It viewer in my public exhibit too

I want embed the Zoom.It viewer in my public exhibit too

This would require some modifications to the views/public/item.php file in Exhibit Builder. That can be done by overriding that file in your theme. These instructions will get you a start, and the Berlin theme has an example for exhibits.

I haven't tested this yet, but I'm pretty sure that adding this will display the zoomit viewer.

echo $this->zoomit($item->Files, get_option('zoomit_width_admin'), get_option('zoomit_height_admin'));


Thank you!

I was able to get the Zoom.it viewer to display in the exhibit item pages by editing the Exhibit Builder views/public/item.php file directly.

I wasn't able to override that file by editing the theme files, however. We are using the default theme, so I tried copying that code into the default/items/show.php file, but that didn't override the Exhibit Builder display. It also ended up displaying the zoom.it viewer twice on the regular item pages, so obviously I'm doing something wrong.

Is there a downside to editing the exhibit builder /view/item.php file directly - other than that I'll need to manually add that code with upgrade?

Thanks again for your help!

We're hitting a small oddity of Exhibit Builder where it produces its own item show page within exhibits. To override it in your theme, you would use or create the file default/exhibit-builder/exhibits/item.php instead of default/items/show.php

Manually re-adding the code is the only big downside that I can see, but hopefully the approach above will work so you don't have to do that.

Yup, that totally worked. Thank you so much for your help!