This section contain the various code project that I have written and that I’d like to share with the rest of the world. Mostly you will find web related material here since that is what I have focused on. There are some minor projects that I have been working on that have not yet made it here. For now check out my Gallery plug in for Wordpress.
For any and all reasons you may want to contact me regarding my projects, this site and what not you can do so using christian [at] gundersson [dot] com.
GDC Gallery
Being a devoted Wordpress user I wanted a gallery function that would integrate nicely into the system without having to install a ‘third-party’ product. I had a look at wp-plugins.net and tried some of the plugins that I found there, but none really suited me. So I decided to see how easy it really is to extend WP, could it really be as easy as I had been told?
Surprisingly, it was. So I set forth creating my very own gallery plug in, with all the ‘freely available’ and ‘re-distributable’ as FLOSS and the GPL can muster.
So what does it do
Well, it lets you upload photos and images and then it lets you display them in a very appealing fashion. As it is right now it contains the following features.
- Uploading of images
- Automatic thumbnail creation using GD, thumbnail size is user defined.
- EXIF tag extraction
- Database table back end with image tagging for future search integration
So the feature set is not that extensive yet but this is just a preliminary release. I want to get it ‘out there’ as soon as possible so that people, hopefully, will provide some feedback on what they think about it. Perhaps there is some feature or way to do things that I just don’t know about, but you know all about it. So don’t just sit there, write me already!
Upcoming features
I have some additional features that I want included in the release in order to make it a more complete and useful image gallery. The first features I’d like to apply are:
- Bulk uploads, accepting both .zip and .tgz files
- Rescaling both thumbnails and previews
- Better error handling. Present state is not that good
- Better checking for prerequisites
- AJAX handled upload
- Allowing comments to images, preferably using WP’s own system
- Extend the EXIF information import to make it more complete and customizable by the user
- Allow trackback and pingback of images
How to install
The plug in is actually very easy to install. Just follow the steps below and you should be set to go.
- Download the package and unpack it to your Wordpress plugins folder.
- Go to the “Plug ins” section in the Wordpress administration interface and activate the plugin
- Copy the file “gdc_gallery.php” from the “GDC_Gallery” plugins folder to your theme folder
- Add a new page in your Wordpress administration interface and name it “Gallery” or whatever you like. Choose the “GDC Gallery Page” template to use as the newly created page template.
- Use the GDC Gallery links both in the “Edit” and “Option” sections to upload and manage your gallery.
And thats about it!