Main
Main Page]-
Site Information]-
Forums]-
Simple Javascript Image Gallery]-
Javascript Image Scale Tool]-
MindaMusic.com Scam]-

Index:

General Description
Features
Requirements
Image Resizing
Setup and Usage
Important Notes
Other Information
Author and Contact Information

Online Demonstration: http://blank.me/IGL/demo/
Download: http://blank.me/IGL/Image_Gallery_Loop_1.0.zip

General Description:    Index

This is a batch program that works with Microsoft Windows to generate html pages for an image gallery. This is not a program you upload to your site and run, you run it locally, then you upload the generated html files to your website. This is beneficial for anyone who has a web host that doesn't allow php, perl, cgi or other scripts to be run. You can generate the content fast on your computer, then upload it to your server.


Features:    Index
  1. Automatically generate static HTML web pages for an image gallery. GREAT if your host doesn't allow dynamic scripts to be run.
     
  2. Can generate index pages with a user specified number of thumbnails per page. (you specify the number of columns and rows)
     
  3. Generates individual preview pages that link to the index, first image, previous image, fullsize image, next image, and last image.
     
  4. Specify whether you want the preview page navigation links on the top, bottom, both, or neither. (both by default)
     
  5. Specify whether you want the image numbers (12 of 94) on the preview page either on the top, bottom, both, or neither. (both by default)
     
  6. Specify the language used for the image links on preview pages.
  7. (instead of the default "Next" you can change it to "Next Image" for example)

    There are ideas I have for other features for the future to add multiple folder processing and add more customization, but those are on the back burner for now. Feel free to suggest features or supply feedback through my e-mail address (IGL@blank.me) or registering on my forums. (http://blank.me/forums/)

 

Requirements:    Index

Operating System - I assume this will work with current versions of windows (XP, Vista, 7), however it has only been tested on Windows Vista Business 32bit SP1. Will probably fail horribly on any non-Windows OS since it uses Windows command line programs.

 

Image Resizing:    Index

Important note if doing manual resizing, my program assumes that the fullsize, thumb, and preview sizes of images are the EXACT same filename. The only difference being the subfolder that they are contained in.

Manual - Use your favorite program to resize them. I recommend the "Microsoft Image Resizer Powertoy" You can find a version for XP on the Microsoft website here. That doesn't work for Vista, but I did find a third party version of the program that does work with Vista.

Automatic - ImageMagick. My program can attempt to use ImageMagick, if installed, to automatically resize the images for you. As with all aspects of this program, I make no guarantees that it will work for you.  This is the install that I used and managed to get working on my Windows Vista 32bit Machine: http://www.imagemagick.org/download/binaries/ImageMagick-6.5.7-1-Q16-windows-dll.exe If this feature doesn't work, don't ask me for help, just resize the images some other way.

 

Setup and Usage:    Index

  1. Optional - Open the "Default_Settings.bat" file with a text editor (preferably notepad) and edit the settings to what you want.

  2. Open the header.txt and footer.txt files and enter the html you wish to have before and after the generated content. I have included some sample HTML so you can test out the program and get a feel for it first.

  3. Copy the Fullsize images into the "Files\Fullsize" folder. (Always make backups!)

    If manually resizing the images, copy those into the appropriate folders.
     
  4. Run "Image_Gallery_Loop.bat" and follow the prompts.

  5. Upload the "Files" folder and all contents to your website, and rename to what you want. (I renamed the folder to "demo" for the demonstration on my website.)

  6. To reuse the program with new data, remove or delete (Always make backups!) all files within the "Files" folder and subfolders. Leave the folder structure intact even if they're empty! You can use the "Delete_Files.bat" file for this if you know what you're doing, I tried to make it as idiot proof and accident proof as possible.

 

Important Notes:    Index

Filename Issues - You may run into errors with images not displaying properly if they have one of the following symbols in them:  < ^ > / | \ # %  among others. If you run into problems with an image not displaying, make sure the filename consists of only letters, numbers, and spaces. Instead of "img#23(cool).jpg" try "img_23_cool.jpg"

Image Filetypes - I have only tested this program with JPEG (JPG), GIF, and PNG images. If the filename is okay, and it's a standard format recognized by browsers as an image, the HTML should generate and display properly. I am not aware of ImageMagick's limitations on resizing.

 

Other Information:    Index

Version: 1.0
Released: October 2009

I impose no copyright of any sort on this program, the sample images I've included, or the sample HTML I've included. You are free to Copy, edit, redistribute, even sell it if you think you can.

The sample images are screenshots from Blizzard Entertainment's video game "World of Warcraft" and may have copyrights already imposed on them by Blizzard Entertainment.

This site was an invaluable resource to me while creating this program.

 

Author and Contact Information:    Index

Keith Blank
Program Feedback: IGL@Blank.me or http://blank.me/forums/
Bug Reporting: IGL@Blank.me or http://blank.me/forums/
General Contact: Keith@Blank.me
Program Website: http://blank.me/IGL/
Program Demo: http://blank.me/IGL/demo/
Personal Website: http://blank.me/