Main Menu
Testimonials
Many thanks for sharing such a great script! It is exactly what I had in mind
as my “ideal.” Keep up the great work!
Jesse H. - jjhake@XXmail.com
|
FAQ
- What are the server requirements?
-
- 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.
- Microsoft JET Engine (for MS Access database).
- CDONTS or CDOSYS.
- .NET Framework 1.1 installed, if you want to use real time generated thumbnails and EXIF functionality
- Write permissions in necessary folders (cache, and database location folders)
- How does the gallery 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)
- Thubmnails are not working
-
- Be sure .NET is properly installed on your server.
- Be sure the images folder is in the same virtual application folder as the script or you will face security restriction issues
- Be sure you have the right .NET permissions assigned to do .NET runtime image manipulation
- Use the testthumb.aspx to test if thubmnail generation is working ok (file is included with the package)
- If any error occurs, thumbnail,aspx will write an error to a txt error log file, located on the same directory. It will help you out to debug the problem.
- Thumbnail generation is being used by hundreds of people, so if it doesn't work, there are a lot of chances something is wrong on your server settings or security policy
- The files will not work with Visual Web developer
- The source code can be edited perfectly using any common ASP or text editors.
Visual Web Developer, although is capable of editing ASP files, is meant to work with ASPX files.
- Can I install the gallery in any virtual path rather than the root? Ex: mysite.com/myfolder/gallery/
- Yes, just be sure the installation folder is a virtual application folder, so it can execute the .NET assemblies located on the bin folder
- How do I (the author) 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
- What is that squared thumbnails thing?
-
Generating a nice thumbnails collection for pictures with both portrait and landscape orientation is quite painful.
By having the squared thumbnailing feature, your thumbnail collection will look always nice and compact, no matter how non-proportional the pictures are.
See example:
- EXIF functionality is not working
- I get an error when running the EXIF functionality:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request.
Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'ExifReader' could not be found
(are you missing a using directive or an assembly reference?)
Solution
- Be sure the exifreader.dll files - be sure the extension is DLL since it has been renamed to be packed - is in the BIN folder inside your photo gallery folder.
- Be sure the folder containg the gallery a "virtual application" directory. If not, the .NET engine will not be able to lookup your bin folder, and hence, the exifreader.dll won't be find and you will have an ugly "The type or namespace name 'ExifReader' could not be found" error.
-
- Some folders on tree don't show up
- Be sure this configuration entry is set to true:
Const cShowEmptyFolders=true 'If a folder doesn't contain files inside, would it be displayed?
|