Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 3.71 KB

README.md

File metadata and controls

59 lines (39 loc) · 3.71 KB

Slow looking Chrome extension

This is the repository for the "slow looking" Chrome extension. It allows you to slow look any IIIF-served image visible on any website by adding a clickable 'eye' icon next to each image. Clicking on that will take you to Cogapp's slow looking website with the relevant image already loaded.

If you want to install and run the latest stable version of the extension, please visit the slow looking extension page on the Chrome store.

To run the development version, or to modify it yourself, proceed as follows:

  1. Checkout the development branch to a local directory
  2. Open the Extension Management page by navigating to (chrome://extensions) or by clicking on the Chrome menu, hovering over More Tools then selecting Extensions.
  3. Enable Developer Mode by clicking the toggle switch next to Developer mode.
  4. Click the LOAD UNPACKED button and select the extension directory that you just checked out.

Feature requests or bug reports

Please log an issue or email slowlooking@cogapp.com. Alternatively, just update the code and contribute a pull request (see "Contributing" below).

TODO

Here's a list of things that are on our road-map:

  1. Add links as siblings of the a element surrounding an image links, not the image itself (see Wellcome Collection below)
  2. Better matching of images (e.g. 'native' as well as 'default' - YCBA; srcset - AIC)
  3. Make it work with embedded Openseadragon viewers
  4. Better handling of Javascript-rendered pages (e.g. NGA thumbnails)
  5. Better placement and icons (SVG)

Sample sites

Here's a list of some of the sites that are known to work (or not), with sample pages to visit:

Fully working

Partially working

  • Chester Beatty - we mangle the DOM and hyperlink on the image instead of under it
  • Wellcome Collection - listing page: sibling problem so doesn't display, individual page: displays, but MASSIVE
  • AIC artwork page - Uses srcset; we currently only look for src

N.b. a workaround for anything in this category is to right-click on an image, then 'open in new tab'. Then you'll see the image standalone with the slow looking link below. E.g. this image from the Wellcome Collection

Not working

Contributing

  1. Fork it (https://github.com/Cogapp/slowlooking-chrome-ext/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request