SFULibrary / islandora_datastream_crud

Islandora Drush module for performing Create, Read, Update, and Delete operations on datastreams.
GNU General Public License v3.0
15 stars 15 forks source link

Generate RELS-INT datastreams #62

Open t4k opened 6 years ago

t4k commented 6 years ago

I had pre-generated a bunch of JPEG 2000 derivatives for book pages because that was faster than doing it upon ingest. Islandora does not generate the RELS-INT files when those are added. This makes books slow in loading because the BookReader needs to "ping" every page to get its dimensions (I presume). We have very large books and the browser tabs are completely locked up for minutes while this happens. See https://groups.google.com/d/msg/islandora/08gCmm8oGNY/TnVqlzXJBgAJ for the same problem I was having.

Here I propose functionality to generate the RELS-INT using the function islandora_paged_content_add_dimensions_relationships() as noted here: https://groups.google.com/d/msg/islandora/N5c5AMb-DVk/shvrl1kmCAAJ

t4k commented 6 years ago

My plan for this is to add a new command that implements the islandora_paged_content_add_dimensions_relationships() function.

I'll touch the islandora_datastream_crud.drush.inc file.

I'll require the islandora_paged_content module for this command only.