\n"; echo "\n"; echo "\n"; echo " thumbnails\n"; echo "\n"; echo "\n"; echo " click an image for a larger view \n"; echo "
\n"; /* How to produce the file 'list': * cd [directory] * ls -1 --color=none *.jpg > list */ $name_list=file("list"); /* Variables: * $p_full = directory containing the full-size images * $p_med = directory containing 800x600 (browser-size) images * $p_pre = directory containing 320x240 images * $p_thumb= directory containing 80x60 images */ $p_full=".."; $p_pre="../preview"; $p_thumb="."; for ($row=0; $row < sizeof($name_list); $row++) { $name = substr($name_list[$row], 0, -1); echo "\n"; echo " \n"; } echo "
\n"; echo "\n"; echo "\n"; ?>