Pic_Index
Pic_Index
Thumbnail Index Generator for JPEG Images under RISC OS
Generates HTML index pages and corresponding thumbnails for a gallery of JPEG images

 

About
this site

Album

Author

CD ROM

Compatibility

Download

FAQ

Links

Main

Manual

Philosophy

Quotes

Register

Searching


PC users click
here!


click here to contact someone at PicIndex.info
Enquiries


Pic_index uses
Dr Wimp

10% goes to
ActionAid


Validate this page
Valid HTML 4.01!

About This Site


This site uses Hypertext Pre-processing - PHP - to make most of the the pages, with extensive use of tables.

It is hosted by Spellings Computer Services on an Apache server.

There is a standard header file¹ used on most of the pages; - which includes the title and the menu on the left as well as the HTML to start the page and table off, then the page content - which is this bit you're reading now - and a standard footer file which here just finishes off the table, provides the 'top' link, and then finishes off the page HTML.

I am also using it to add a random quote at the foot of some of the pages by making my footer file a PHP file. It did come out in the wrong place in IE originally, but I've sorted that now by including it in the table!

It is the server which puts these three bits together when you request the page.

The content page starts with the tag <?php include ("h0.htm") ?> for the header, and ends with the tag <?php include ("f0.php") ?> to add the footer.²

The server's PHP parser substitutes these comment tags with the actual files and/or the resulting text.

PHP also automatically provides the last-updated date on, for example, the author page where it is useful to have this information, and on this one.

I justify using tables without any alternative for two reasons. Firstly, if you don't have tables available, all the information is still there, just in a more disjointed form, and, secondly, if you don't have tables capability then Pic_Index itself isn't going to be of much interest to you anyway as it relies upon tables to function!

If the content does not fill the 'content' table cell, as here on my browser, then the 'menu' cell defines where the bottom of the page comes.

It doesn't display as well on Internet Explorer, but then that is unlikely to be used by my main user-group!

Pic_Index itself, however, gives results which work fine on any tables-enabled browser!

If you want to know more, click on that word more!


¹ Actually there are two header files - one for pages in the root directory, and a second for pages which are within their own folder. This is to get the relative menu paths right!

² In fact, I'm now using PHP to interrogate the browser identity string and act accordingly: If you don't have 'RISC' or 'ANTFresco' or similar in your browser ID string, I include a message for you suggesting you visit the PCuser page, and I hide the mailto: address from you, replacing it with a contact form.

Last modified: 27 February 2007

  

top of page-content

a random user-quote:

"A potent piece of software." Lyndsay Gallon

page accessed: Saturday, July 5, 2008