[On-Rev] Photo Gallery problem
mcdomi at free.fr
Wed Jun 24 10:24:41 CDT 2009
I am running up against a problem...
- given a number of shots, automatically construct a table with photos
- by clicking on a thumbnail, to go to a larger image, in the same page
or in another page (more or less done)
- the page with the larger image being rebuilt upon demand
Going to another page with the image alone is not too hard
Passing a parameter in a table is feasible, see:
In this page, there is "traditional" table, not built par "?rev"
a line in the table:
<a href="image.irev?timage=Images/1.jpg"><img border="0" alt=""
It is possible to make "?rev" to build a table:
a "constructed" line, as above:
put "<a href='Images/" & L & "'" & "target='_blank'><img
src='Thumbnails/" & L & "'></a>" after ttable
(the photos list is obtained according to Sarah's example)
But -- in the page:
the interpreter chokes on this:
put "<a href='index.irev?timage=Images/" & L & "'><img border='0' alt=''
src='Thumbnails/" & L & "'></a>" afterttable
it says "Error: can't find handler"
I'm scratching my head ;->
I can show my .irev pages, if you want (not given here, to save
Dom, AKA medard at on-rev
also posted to the On-Rev forum
More information about the use-livecode