Peek Inside Book Plugin

Pubished by Adam on November 29, 2022

I’ve released a plugin that enables online booksellers, bloggers, content creators etc to easily add peek-inside functionality to their website akin to Amazon’s Look-inside feature.

It uses Jellybooks who have a really simple API – so this plugin didn’t take much time to make – in fact I’m going to create a series of £5 plugins which I can quickly output, that add value to the end user.

This plugin’s aim is to simplify the process of linking your book cover to Jellybooks. If you’d like to know the technical part of what is does – read on.

The plugin will add the a CSS class to your book cover which will trigger the peek-inside modal window when clicked. The clever part is – the plugin works out what images on your page should have that CSS class by determining if it is a book. It basically does that by searching for an ISBN in the images meta data or HTML attributes.

So, in practice if you have named your books by ISBN, have given your books ALT / TITLE attributes, containing an ISBN – this plugin should work ‘out of the box’. If you have not done that, I have created an ISBN option which can be configure in the Media Basket.

Here is an example (all I’ve done is just clicked Add Media within this post and placed an image):

The plugin has automatically (behind the scenes) fetched the Excerpts for this book and applied the Peek-inside label over the top of the image. It’s then made it clickable!

You can find out more here.

Adam 🙂