There are a lot of fields on the 'new/edit cave' page and the 'new/edit entrance' page and some of them are a quite mysterious. This page explains what they mean, and how to enter new caves and entrances, and especially how to add images/surveys so that they appear.
Effectively each field is concatenated to make an HTML page for the cave (or entrance), so each field may contain arbitrary HTML.
You can either add caves (or entrances) using the web-interface, clicking on 'New Cave') or 'New Entrance'), or you can check out the 'expoweb' repository and just edit the files.
The caves in our site are stored as XML files under noscript/cave_data and in files named area-cavenumber. Entrances are correspondingly in noscript/entrance_data files, with the same naming convention, except that if there is more than one entrance they have a,b,c suffixes. Any associated files, usually photos and surveys, are stored under the area names 1623 or 1626, then the cavenumber. An understanding of this file layout is very important when writing the html so that images appear as the URLs in the XML file should be relative URLs to the cave page, which appears as area/cavenumber.
An example will make clear how this works
TODO - example of the filelayout