Open t4k opened 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.
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