# HG changeset patch
# User rlm
# Date 1266843759 18000
# Node ID 3f6b44aa6b358a72abd6ade1c31050efb903aed5
# Parent 670229c4eb4b9a816350909d6a7a7d627b5aa7a8
[svn r4] added ability to buy stuff, from a Prints page, but it doesn't work well with the css, and it also has not been fitted into the perl make system.
diff -r 670229c4eb4b -r 3f6b44aa6b35 Contact.html
--- a/Contact.html Fri Feb 19 11:14:52 2010 -0500
+++ b/Contact.html Mon Feb 22 08:02:39 2010 -0500
@@ -17,14 +17,14 @@
+ Create the xml for the image inside which folder? Set the folder to look at to create the XML automagically.
+
+
+ Default file paths are:
+ $fold){
+ if ($fold=='' || $fold=='.') continue;
+ if ($fold=='..' && $i>0 && end($out)!='..') array_pop($out);
+ else $out[]= $fold;
+ } return ($path{0}=='/'?'/':'').join('/', $out);
+ }
+ ?>
+ Gallery Path: Galleries/gallery1/
+
+ Large Path: Galleries/gallery1/large/
+
+ Thumbnail Path: Galleries/gallery1/thumbs/
+
+ 1024) $files[$fkey]['sizetext'] = (ceil($a['size']/1024*100)/100) . " K";
+ else if ($a['size'] > 1024*1024) $files[$fkey]['sizetext'] = (ceil($a['size']/(1024*1024)*100)/100) . " Mb";
+ else $files[$fkey]['sizetext'] = $a['size'] . " bytes";
+ $files[$fkey]['name'] = $file;
+ $files[$fkey]['type'] = filetype($fullpath);
+ $fileNames[$i++] = $fkey;
+ }
+ closedir($dh);
+ } else {$errorMessage= true; echo "Cannot open directory: $path | Fill out a valid Gallery Path";}
+ } else {$errorMessage= true; echo "Path is not a directory: $path | Fill out a valid Gallery Path";}
+ sort($fileNames,SORT_STRING);
+ $sortedFiles = array();
+ $i = 0;
+ $photos = array();
+ $relativePath = rp( dirname($_SERVER['PHP_SELF']) );
+ if($errorMessage != true){
+ foreach($fileNames as $f) $sortedFiles[$i++] = $files[$f];
+
+
+ echo'Copy the below XML and create your XML file and upload it via the Upload XML button above:';
+ echo'Reset Output';
+ echo '