By : cosmocoder Published On Friday, December 24, 2010, 06:44 In HTML5
Every web developer has to deal with image galleries. This involves looking up a bunch of images, get their path and names, and then put them in a standard HTML layout, and also include captions and titles for the images. This process can become quite tedious.
GalleryGen aims to ease the burden of that process. It generates HTML code for image galleries, that include Lightbox image galleries and Slideshows. Instead of using PHP to locate images it uses HTML5 and javascript.
To know about available code output options have a look at the screenshots. Since no PHP is used, this generator can be run locally.
NOTE: This generator uses the latest HTML5 technologies and hence will run properly in modern browsers that support these technologies. At the moment these include Firefox 3.6+, Chrome 7.0+ and Opera 11.10+. Chrome has some restrictions when the generator is run locally and does not display any images although it still outputs correct code. If the generator is run from a server then it works fine in Chrome. There is no such complication in Firefox and the generator works fine there no matter from where you run it. In Opera there is no support for HTML5 Drag and Drop yet. So you won’t be able to drag images into the generator but only select them from the file dialog window.
• Added a "Select Code" button, which when clicked selects the entire generated code thus making it easy for the user to quickly copy the generated code. • The area for the generated code in the modal overlay box is now editable by using the "contenteditable" attribute. • Fixed a bug in the Lightbox preview of the selected images where the Lightboxes were sometimes opening with incorrect sizes.