RE: [greenstone-users] - Maximum number of thumbnails shown per page- old books - image collection -

From Diego Spano
DateThu, 4 Jan 2007 16:28:41 -0300
Subject RE: [greenstone-users] - Maximum number of thumbnails shown per page- old books - image collection -
In-Reply-To (459D4F3E-8010305-dlconsulting-co-nz)
Hi all, pagedimgplug supports "go to page number"!!!!. I use it...
 
if you have a book with 500 scanned pages, then you can create a document in greenstone using Pagedimgplug and .item file. This document will have 500 pages and then you can go to page number X.
 
As with pdf files in which every page is treated as a section, with PagedImgPlug each image of the document is a section. The title for page 1 will be "1" and the parent title will be the document name. I.e. the full title for page 20 of a book named "Greenstone UserĀ“s guide" is: "Greenstone UserĀ“s guide:20".


De: greenstone-users-bounces@list.scms.waikato.ac.nz [mailto:greenstone-users-bounces@list.scms.waikato.ac.nz] En nombre de Richard Managh
Enviado el: Jueves, 04 de Enero de 2007 04:02 p.m.
Para: greenstone-users@list.scms.waikato.ac.nz
Asunto: Re: [greenstone-users] - Maximum number of thumbnails shown per page- old books - image collection -

Hi Tomas,

Yes, PagedImgPlug would provide you with previous and next navigation links, but still no "go to page number" functionality.

It is possible to do this with javascript (i.e. without modifying greenstones c++ and/or perl code) but you might have to put javascript data structures (i.e. arrays) of book information into a macro file with the valid page ranges of each book. So it wouldn't be "automatic" in the way that PagedImgPlug provides those navigation links.

You would add a "go to page number" form to macros so that it would display where you want it, and it would have to know what book it is currently working on, and the valid page numbers it can go to, with a mapping between user entered page numbers and those pages greenstone OIDs - so the javascript can send the browser to the right page. i.e. arrays containing mappings similar to the following:

page -> OID

1       -> HASHecd552ed3c2d5f1f6a620f.1
2       -> HASHecd552ed3c2d5f1f6a620f.2

etc.

This might be a very complex and clunky solution to implement but it is still possible i think.


Richard
.
--
DL Consulting
Greenstone Digital Library and Digitisation Specialists
contact@dlconsulting.com
www.dlconsulting.com


 
               OR        3.  make the picture opens in Greenstone background with the option -
previous ; next ; go to "number" page ?

   
I think this would require customisation of Greenstone's c++ code, or
perhaps some very clever javascript. But the javascript would have to
know how many pages there are in a book. Perhaps if you divided the
pages of books into groups of 10 in the heirarchy it wouldnt be too hard
to add links to the page to browse from one display of 10 pages to the
next. But then you need to work out somehow (perhaps using javascript)
what the links to the last set of pages and to the next set of pages
are. For example, if you browsed to the first set of 10 pages, how would
you determine that there is no link to go back to the previous ten pages
(because there aren't any previous pages)? A problem that it is possible
to deal with, but maybe not as elegant as dividing the book up as its
author already has.
 
This seems to be a bigger problem for me. What about using pagedimage plug for it ? Like *http://tinyurl.com/yzoyrd*