Thumbnails.cfm for BlogCFC - More updates

Well, I decided it really isn't a "pod", since it doesn't go in the /pods folder, but be that as it may, it's updated. Now it is possible to have both thumbnails and full-size images. As before, the file is available below by clicking the Download text next to the floppy disk icon, at the bottom of this message.

Thumbnails pod - Fixed large image viewer

I fixed a bug with the first release of thumbnails.cfm, so now it works just fine. Heh, well, I thought the same thing last time, right? Right. Anyhow, whatever. I'm not worked up over it. So it's a workin' now.

If you want to have a thumbnail gallery where a click on a thumbnail brings up a full-size version of the photo, here is what you need to do:

You need two directories of images, one with the thumbnails, one with the full-size images. The images within must be identically named. How you create those thumbnails is up to you. Me, I used TNGen. For example, if you had two directories, "foo" and "foo-big", and they contained small and large images, well, yeah. You get the idea, or at least I hope you do.

Upload those directories to the /images/slideshows/ dir within blogCFC, just as you would do for a slideshow.

You now need to pass in three additional URL variables:

  • fullsize: name of the dir holding the full-size images ("foo-big")
  • fullsizeh: number indicating the height in pixels of your full-size images
  • fullsizew: number indicating the width in pixels of your full-size images

That should do it. Either that or it's not working again, ha!

Thumbnails pod for BlogCFC

If you are using BlogCFC, such as I am, you may or may not be interested in a little pod I put together, for displaying sheets of small photos ("thumbnails").

Here is a sample: Photos from Washington D.C.

Download

See the little "disk" icon at the end of this message? Click it.

Installation Instructions

Unzip and place thumbnails.cfm in the root level of your BlogCFC installation. Thumbnails.cfm was built by reverse-engineering Ray Camden's slideshow.cfm, and it uses the same image directory. So, if you go through the BlogCFC docs and look up "Slideshows", that should get you going. The only exception is that in your blog posts, instead of pointing hrefs to slidshow.cfm, use thumbnails.cfm.

There are three optional attributes you may choose to pass in via the URL:

  • slide: Number indicating which image to start with
  • rows: Number of rows to show at a time
  • cols: Number of columns to show at a time

This is a first effort at writing a pod for BlogCFC, if you like it, great. If you hate it, great. Either way, feel free to leave me some feedback.

BlogCFC was created by Raymond Camden. This blog is running version 5.9.3.002. Contact Blog Owner