| |

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

  • | | |

    New Design Launch!

    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! Announcing (finally), the new design of TheJoey.Net. You may have noticed over the last 2 days, this design was up…

  • AI is Making Podcast Pitches WORSE (And How to Fix Yours)

    Remember the alien in Men in Black asking for “sugar in water”? That’s exactly what AI-generated podcast pitches sound like – almost human, but missing something fundamentally authentic. As someone who receives dozens of guest pitches, I’m seeing a disturbing trend: more people are using ChatGPT to write their outreach, and it’s backfiring spectacularly.

  • |

    Quick Tip: Custom Category Styles in WordPress

    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!Over the weekend I revamped this blog’s current theme a little bit, including adding custom styles for my Link Round-up lists….

  • Should Your Podcast Have Seasons (or Just Breaks)?

    Recently I gave a talk about how to leverage video for your podcast for Ecamm’s Leap into Tools and Tactics, and I got asked a question I get a lot: Should my podcast have seasons? My answer was “yes, probably.” There are a lot of reasons to have seasons. However, the emcee of the session,……

  • | |

    The Brick Artist

    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 loved legos as a kid. As a metter of fact, put legos in front of me right now, and i…