• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

SmoothGallery markup generator

Markbnj

Elite Member <br>Moderator Emeritus
Moderator
This is probably a little too niche to be of much interest, but I'll post it anyway. If anyone is using JonDesign's SmoothGallery (2.0 or later) to drive slideshows, I've written a markup generator tool for it. It runs on .NET 4, and source is included so you can rebuild it for earlier versions.

Basically, prep your images and place them into a folder. If you want, fill in the title and comment metadata for each image. Then run the tool and set the various command line options. It will generate thumbs, import the title and description from the metadata, and generate the HTML markup. It supports all the SmoothGallery options, and also lets you do some things SmoothGallery doesn't support well, such as changing the default thumbnail size or the height of the info pane.

http://www.markbetz.net/misc/sg/SmoothGen.zip

The slideshow in this post is an example of what you can do with SmoothGallery and the markup generator...

http://www.markbetz.net/2011/05/31/jersey-sore/
 
The slideshow in this post is an example of what you can do with SmoothGallery and the markup generator
Pretty cool...but what's this junk up in the corner? "&#239;&#187;&#191;"

Edit: Oh, and the arrows aren't loaded until the rest of the images are.

Did I mention I'm doing manual testing work right now? That may make me extra sensitive to this stuff.
 
Pretty cool...but what's this junk up in the corner? ""

Edit: Oh, and the arrows aren't loaded until the rest of the images are.

Did I mention I'm doing manual testing work right now? That may make me extra sensitive to this stuff.

I've been trying to figure that out myself. I only see it in Firefox. Chrome and IE render it without the garbage. Obviously something is spiting junk into that element, but I don't know what it is.

Still the best free slideshow driver I was able to find. For the moment I'm putting that down to some quirk of Firefox's.
 
I've been trying to figure that out myself. I only see it in Firefox. Chrome and IE render it without the garbage. Obviously something is spiting junk into that element, but I don't know what it is.

UTF-8 Byte Order Mark perhaps?
 
UTF-8 Byte Order Mark perhaps?

Bingo. Thanks for the tip. The html file I based my template on had the charset set to iso-8859-1. The file was a demo markup from the JonDesign website, and I didn't look at it very closely. For some reason FireFox rendered the BoM. The bytes were not actually present in the index.html file, so something made FF insert them when it encountered the charset definition. The bytes were inserted right before the doctype. This happened whether the window was opened with the javascript event handler, or just opened as a GET. I changed the charset to utf-8 and the problem disappeared.
 
Back
Top