| |

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

  • 3 Things to Get the Most Out of Podcast Movement 2024

    Podcast Movement is one of (if not THE) biggest podcasting conference on the planet, and it can be a crucial event for podcasters of any size. But it’s SO big that it can feel overwhelming if you don’t have a clear plan. If you’re considering attending Podcast Movement, the premier podcasting conference in the United……

  • You Tube – Selective Attention Test

    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! This is a very interesting test! Let me know your results in the comments! (if you plan on doing the…

  • |

    The 2013 Gift Guide for Web People

    Here’s a little secret: I love these lists. I love writing them, I love reading them, and I love buying stuff, so I love researching them. Plus, 2013 is a great year for web development and technology. Responsive Design is now in full swing as it’s pretty much standard practice to build a responsive site…

  • The Ghost of Podcast Future (2024 Edition)

    The Ghost of Christmas Future, or Ghost of Christmas Yet to Come, exists in A Christmas Carol to serve as a grim warning of what will happen to Scrooge if he doesn’t change his ways. But as Scrooge points out, the spirits wouldn’t be visiting him if he were, “…past all hope!” Last year, I……

  • Ok Ok

    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 know i havent posted in a while, but ive been really busy. If you havent noticed, the face of revenge…