Aside from the IFrame idea, you could also try having PHP include()
You'll have to be careful to ensure the contents of the returned pages
are valid PHP too, to ensure they are processed correctly.
Alternatively you could try chaining two Apache servers together, where
one acts as a proxy to process the PHP code returned by the other (which
Greenstone Digital Library and Digitisation Specialists
Anson Parker wrote:
> Hi Richard,
> What'd you have for breakfast??? You rock!
> btw I'm going to find a way to get this done without iframes, there's
> gotta be a way, and it'll make customizing greenstone a lot more
> attractive. That's my toughest pitch with clients, not whether it
> works or not, rather how it looks while it's working... everyone acts
> like they care about standards, however many librarians don't really
> appreciate what standards mean and only care about whether their site
> achieves their desired aesthetics and blends in with the rest of their
> site.... ah well, It's well worth it, thank you very much for all your
> From: Richard Managh <email@example.com>
> Reply-To: firstname.lastname@example.org
> To: Tomáš Fiala <email@example.com>
> CC: firstname.lastname@example.org
> Subject: Re: [greenstone-users] - Maximum number of thumbnails shown
> per page- old books - image collection -
> Date: Wed, 03 Jan 2007 14:43:36 +1300
> Hi Tomáš,
> Tomáš Fiala wrote:
> > Hello everyone,
> > I am creating an image collection of old books
> > (*http://tinyurl.com/ykb7qj*). Some of the books have more than 600
> > pages in .jpg, when I'm browsing the collection more then 600
> > thumbnails are shown per one page.
> > Please could someone help me how to :
> > 1. limit the number of thumbnails per page ?
> There are a number of ways you could limit the number of thumbnails per
> page. One way would be to create a more complex hierarchy for each book
> i.e. with more levels: perhaps dividing the books into frontmatter,
> chapters, and back matter. You can see examples of books being divided
> in this way at www.ulukau.org.
> For example:
> This is a printed book that is divided into different sections using
> greenstone: covers, frontmatter, chapters and backmatter. The books
> contain text and images in pdf form instead of in your case images, but
> the concept is the same.
> Another way would be to display perhaps 10 or 20 thumbnails at a time,
> but I can't immediately think of a way to do that without modifying some
> of the c++ code in greenstone.
> > 2. make the picture opens in new window after clicking on the
> > thumbnail icon ?
> This is a simple matter of adding a target="_blank" attribute to the
> html "a" tag, you will need to modify the relevant format statement to
> do this.
> > 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
> 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
> 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.
> > 4. make that the metadata text (near bookshelf) contains the same link
> > as the bookshelf ?
> You can do this by modifying the relevant format statement for your
> displayed hierarchy.
> Hopefully this gives you a starting point.
> DL Consulting
> Greenstone Digital Library and Digitisation Specialists
> greenstone-users mailing list
> Fixing up the home? Live Search can help
> greenstone-users mailing list