| |

Directory Handler at Theme Forest

Note: This article was published while I was in my early 20s. I was much younger and dumber. Please don't hold it against me. One of the perils of having a 20+ year old website!

I’m happy to announce my first Theme Forest component, Directory Handler. it’s a simple set of 2 classes that handle (in several ways) listing the contents of a directory. The main class, DirectoryHandler, includes several functions that:

  • Get and/or print the entire contents of a directory
  • Normalize the name of a file or directory (replace special characters with spaces)
  • Return the extension of a file
  • Return all of the files of a directory in an array
  • Return all of the sub directories of a directory in an array

TheImageDirectory class extends the functionality of DirectoryHandler by changing the get and print directory functions to:

  • Print a thumbnail version of the image
  • Integrate lightbox for easy image viewing/browsing.

You can view a live demo here and Download the full documentation here.

Similar Posts

  • | |

    WConroy.com

    Note: This article was published while I was in my early 20s. I was much younger and dumber. Please don’t hold it against me. One of the perils of having a 20+ year old website! A new Featured Project. Bill Conroy is running in my district for Supreme Court Justice (of my district). He came…

  • How to drink a Guinness

    Note: This article was published while I was in my early 20s. I was much younger and dumber. Please don’t hold it against me. One of the perils of having a 20+ year old website! Well, I have to admit that I didn’t do any research on it, but in viewing LifeHacker, I saw How…

  • Tools for Podcasters in 2025

    I saw a post going around where business owners were sharing their subscriptions/tools for their business. I thought I’d do the same. This may not be comprehensive, but it is the most crucial. I’m definitely big on using the tools the work best for you — but also understand that it can be overwhelming to……

  • |

    Simplecast Episodes Version 0.6

    Over the weekend I released Version 0.6 of my @simplecast plugin, Simplecast Episodes. Aside from some smaller internal changes, I added what I think is a pretty nice feature to coincide with WordPress 3.9’s new feature to create media playlists from audio and video: the ability to download episodes directly into WordPress, adding them to the…

  • Can Adobe Podcast’s Enhance Speech Replace Your Editor?

    I will die on this hill: if you want to grow you podcast…if you want to create a show worth listening to…you need to hire an editor. But I also know that starting out, podcasting is expensive, and hiring an editor can be the most costly line item. So today, we’re taking a look at……