note 71028 deleted from ref.dir by nlopess

From: Date: Thu, 09 Nov 2006 14:13:23 +0000
Subject: note 71028 deleted from ref.dir by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-119548@lists.php.net to get a copy of this message
Note Submitter: ---- I need help...... What I need is a script to pull a list of images...(JPG)...from the current directory or a directory of my choosing and then sort the list and then out put a TEXT file such as this: //This is the variable and then defines the Current Directory &GalleryName=1_kyablonsky& //This defines the variable and the count of the images being processed &imagecount=3& //This is a variable that defines the current directory with "/tn" added &thumbsfolder=1_kyablonsky/tn/& //This is a variable that defines the current directory with "/" added &imagefolder=1_kyablonsky/& //This defines the first image being processed &image1=pic1.jpg& //This is Static....will Always say Yes &imagednload1=YES& //This will be the image description, but is defined as "picture-#" as the current picture that is being processed &imagetitle1=Picture-1& //This will be the date from the image &imagedate1=10/19/2006& //This will be static as well...defining "picture-#" where # is the current picture being processed &imagetext1=This is Picture-1& ... //This will be a Static variable...defining the end of the folder being processed &done=1& The second one I need will pull a list of Directories from the current directory or a directory of my choosing and then sort the list and then out put a TEXT file such as this: //This defines the total number of folders being processed &catcount=3& //This is a static comment //X=NO Default Gallery....R=Random Default Gallery....#(Any number to select which gallery as Default //This will be set as a static variable as well &autoload=R& //This defines that it is the first item being processed &cat1Id=1& //This will define the name of the catalog, but could start as the folder name &cat1Name=Paris 06-Paris City& //This will be defined as the folder name with "/images.txt" appended &cat1file=7_paris06_paris/images.txt& //This will be the folder with "/tn/pic0.jpg" appended &cat1image=7_paris06_paris/tn/pic0.jpg& ... //This will be static text &horzthumbs=4& //This will be static text &vertthumbs=3& //This will be static text &hthumbsspacer=68& //This will be static text &vthumbsspacer=70& //This will be static text &slidesseconds=5& //This will be static text &done=1& I hope this is clear. I've been having a very hard time trying to find examples.... Any help will be very appreciated. If anyone could email me at yablonsky@yahoo.com for further discussion on this. If anyone wants to see the Flash Gallery page that this will be used for...you can visit here: http://www.yablonsky.com/familyphotos/index.html Thanks Ken

« previous php.notes (#119548) next »