This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

This plugin has been closed and is no longer available for download.



D13Gallery is a simple WordPress plugin that allows you to quickly add thumbnail image galleries to your posts and pages. By including a simple HTML-like tag to the body of your post, a folder on your web server can be scanned for images and a gallery generated automatically.

Editing the settings of your d13galleries is quick and simple using the inbuilt options screen – simple adjust your settings for size, quality and layout and click ‘update’ to apply the changes to all of your galleries.

What’s new?

The latest release of d13gallery (v3.4.0) bundles some new functionality with some fixes for bugs identified in earlier versions.

There are now two choices of layout – the original grid view and also a Flickr inspired view.

The thumbnail saving script has also been revised to eradicate a few issues.

Previous changes…

v3.3.2 – This version has some slightly adjusted markup for when you’re using a lightbox. Rather than display the path to the image as the image title within the lightbox popup, the post title will now be used–much nicer.

v3.3.1 – Version 3.3.1 includes a simple addition to increment the class names for images depending on their column – this means that you can apply different styling to the left images, middle images and right images.

v3.3.0 – Version 3.3 revives the function of saving generated thumbnails on your server. Using the admin screen choose whether to save thumbnails and where and let d13gallery handle the rest.

v3.2.0 – Version 3.2 has had a full re-write of all admin functionality to bring it inline with the WordPress 2.5.x releases. Making use of the WordPress database for settings rather than an external settings file makes v3.2 a more flexible and streamlined version.

v3.1.0 – Version 3.1 extends the flexibility of the d13gallery plugin. Using the admin screens it is possible to define settings for how all of your d13galleries will appear – version 3.1 allows you to override these settings for specific galleries. This allows you to create gallery layouts for specific galleries, control the image quality for specific galleries or even use a javascript lightbox for a specific gallery.

v3.0.0 – The plugin code has been completely re-written providing faster processing and more robust support for the WordPress platform. The infamous ‘permalink bug’ has now been fixed and additional functionality has been added to support CSS layout and lightbox components.

The inbuilt options screen as part of your WordPress admin pages and also features extensive support documentation helping you get the most from the plugin.


  • An example of a d13gallery reading a folder with 8 images of flowers using the 'original' layout.
  • An example of a d13gallery reading a folder with 8 images of flowers using the 'd13r' layout.
  • The d13gallery admin screen.
  • An example of adding a simple gallery inside a post.
  • An example of adding a complex gallery inside a post.


  1. Begin by downloading the plugin file using the link above.
  2. Extract the files to your local machine.
  3. Upload the whole d13gallery folder (including the folder itself) to your plugins directory – typically
  4. Activate the plugin using your WordPress admin pages.
  5. Familiarise yourself with the documentation under ‘options > d13galleries’
  6. Get cracking!


How do I add a gallery to a post?

You have a WordPress blog installed at “” and you want to create a gallery of your wedding photos and attach them to the post “Look! We’re married…”.

The first step, as stated above, is to upload the images that you want to include in your gallery. To keep all of your galleries tidy, you may want to create a folder called “galleries” to hold all of your d13Gallery files – this would be created at “”. Within that folder you’d create a new folder just to hold your wedding photos “”. You’re then ready to upload all of your image files (GIF, JPG or PNG) to this new folder.

Now that your images are uploaded you can create a link to your gallery within a post. Use the WordPress admin pages to edit or create a post and start typing. When you get to the place in your post where you’d like to add a gallery just use the following text:


In the example this text would be:


Save or publish your post and then view your blog – your new image gallery will be embedded within your new post.

How do I use a lightbox component?

D13gallery works great with the Lightbox 2 component from Lokesh Dhakar. As well as being small, elegant and reliable this component also has a great WordPress plugin that handles all of the script inclusion for you.

Once you have the lightbox added you can set the “target window” setting in your d13galleries settings to “lightbox”.

My galleries don’t show up in Internet Explorer 7

IE7 has issues displaying tables within paragraphs and this could be the cause of your problems. If this is the case it’s likely that you’ve added a gallery directly within a paragraph of text:

Here are some photos from my wedding {gallery}galleries/wedding{/gallery} you can see that it was a lovely day.

To fix this, try adding the gallery on a line by itself:

Here are some photos from my wedding…


You can see that it was a lovely day.

Contributors & Developers

“d13gallery” is open source software. The following people have contributed to this plugin.


Translate “d13gallery” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.