Saturday, August 3, 2013

WordPress Plugin

I recently finished work on IndyGreekFest.org (Old Site), and am in my reflective period that follows every project. One issue that I ran into with this site is the organization of images on the site.

Several sections of the website are basically image galleries; food, media, etc. It would be nice if I could upload images into folders and organize them by the page in which they are embedded. Unfortunately, with WordPress, this isn't possible.

WordPress started as a simple blog software, and while it's doing an admirable job slowly transforming itself into a full CMS, it's not there yet. The way it handles images is a prime example of this. Currently, there is a single media folder, in which all uploaded images go. WordPress each month, a new folders is made by wordpress inside the media folder. All images uploaded that month go in there. Additionally, when viewing the images, there is a single list of images. One can't view folders.

It would be nice to fix this. I have sketched out several user interfaces which would incorporate folders. A real fix would require updating the core, though, which I'm not really prepared to do. A plugin, however, I think is within my current capabilities. A plugin will not be able to full accomplish my goals, but it will let me start. So tonight, I am going to write a simple Hello World plugin to teach myself the basics. Having created several themes in the past, it shouldn't be too difficult.

From there, I can start figuring out how to go about adding folders to WordPress.

1 comment:

  1. Just to follow up, I've never ended up building a folders plugin, because I didn't understand at the time of writing the above just what that would entail. I am involved with the Media Grid project, to create a better interface for viewing media on WordPress, but even that doesn't do folders. The best thing I can think of now is to use a tagging system to create virtual folders.

    ReplyDelete