Testimonials
Hi, I just love your photo gallery. I looked at more than 50 galleries, ASP or
PHP, and yours is the one I liked most.
Eliram Haklay eliram@netXXXXX.net.il
more testimonials
Home
Testimonials
Tu programa es fantástico y funciona excelentemente. Lo estoy usando en los
Archivos de Fotos de los sitios que mantengo y obviamente lo recomiendo.
Felicitaciones.
Julio sosteniendoutopias.com.ar
more testimonials
|
FAQ
Server requirements
Required:
- ASP/VBScript support (that's pretty obvious).
- The script uses the Microsoft XMLDOM object in the comments engine. Usually, your server has it installed already.
- CDONTS or substitute.
Optional:
- .NET Framework intalled, if you want to use real time generated thumbnails (if you don't, just set cUseThumbnailFile=false)
How does the script work?
- It uses the filesystem object to create a dynamic HTML image catalogue with the pictures found in
the folder(s) specified.
- It works with in a recursive way indexing all
folders and subfolders and creating a usable javascript based folder tree with all of them.
- The visitors can also add comments as well!.
These comments are stored in XML format in the folder you specify (be sure the web user can write in that folder)
Quick install
- Define the virtual path where your pictures are located.
Ex:cVirtualPath="pics/" (if they are in the same folder as the script)
or
Ex:cVirtualPath="/albums/photos/" (if they are anywhere else in the wwwroot area)
- Define the physical folder where the XML comments are going to be written (must have write privileges!)
cWritableXMLCommentsFolder="d:\xml\" (using the complete physical path)
or
cWritableXMLCommentsFolder=Server.Mappath(cVirtualPath) (composing the physical path from the virtual one. This is more recomended)
Importante note: From v2.6, cWritableXMLCommentsFile (an unique XML file) would be used instead of cWritableXMLCommentsFolder (one XML file for each picture).
- Set your e-mail address, in order to receive e-mails when visitor add comments
cAdminEmail="youremail@hotmail.com"
- Set the others (no so important) parameters like
cShowEmptyFolders, cImageExtensions, cAllowUserChangePicturePerRow, etc...
- ..and upload the pictures and the script to the server using your favorite FTP program
The .NET Framework thumbnail generator
If your hosting server has the .NET Framework installed (most probably) use it!
It would create a real thumbnail image (less than 5 kb) to display your pictures.
Otherwise, the script will fake the thumbnail just showing the real image with
low values of height and width. It will be slower to load, because it would be loading the original picture
How to enable it:
Const cUseThumbnailFile=true
Const cUseThumbnailFilePath="thumbnail.aspx" 'path to server page that will generate the thumbnail
To disable it:
cUseThumbnailFile=false.
Resizing the original picture
Yes, we can use the thumbnail generator page to increase or decrease the size of our original image. Cool isn't?
Well, be sure that the thumbnails option is activated. Otherwise it wouldn't appear any selection menu.
Const cUseThumbnailFile=true
and then define the possible values for resizing your original image:
Const cAvailableThumbnailSizes="original,200,300,500,600" 'set here available sizes to display the big picture, separate by coma.
Const cDefaultThumbnailSize="original" '(new in 2.5) set the default value.
How can I add comments to the pictures?
You can create author comments to each picture creating a text file with the same name as
the picture and the extension .txt, and the script will look for that file and write the
content of that file in the screen.
Ex: To create a author comment entry for the picture me_in_the_park.jpg located on the folder /images/me/, just create a file called me_in_the_park.txt with your comments, and place it on /images/me
|