Tag Gallery

A few days ago I was looking for a better way to manage galleries in WordPress for a friends new site.  We found it rather awkward to deal with the built in gallery short-code when it came to removing images from a gallery or even adding them.  It seems ridiculous that media must be uploaded through a post or page to add it to a gallery.  Even more annoying is that you must delete an image from the Media Library as a whole just to remove it from a gallery on any given page.  This is rather unintuitive.  I think media should be managed completely by the Media Library and attached/unattached from pages or posts at will.  The post should simply be a vehicle to display media, not a part of the management of such.

I went searching for a better gallery implementation and of the 300 or so image plugins available none of them seem to do what we wanted.  I don’t want to install a whole new media management system such as NextGen gallery as WordPress already provides a Media Library.  I don’t want to host my media with an external provider as I would much rather keep control of my assets in one place: my blog.  I want to manage media in a more intuitive manner and very much like the gallery short-code without the shortcomings.

I found Justin Tadlock’s Cleaner Gallery which cleans up the built in gallery and allows for very easy inclusion of java-script lightbox effects such as the Thickbox which is included with WordPress.  Cleaner Gallery is a step in the right direction but still does not overcome the cumbersome management of the galleries, and it was never meant to!  Shortly after I found Paul Menard’s Media Tags plugin which is absolutely great.  So why not mash up the two into a Cleaner Gallery managed by Media Tags!

Introducing Tag Gallery.  It’s a quick piece of work and solves the issues of managing galleries, at least for me.  Your mileage may vary.  It is a short-code implementation and you can include as many of them as you wish on any given post or page.  You can set the thumbnail width and height and whether or not to show captions.  If you have Cleaner Gallery installed it will use your java-script settings from that plugin for the display of your tag-gallery. In fact, Tag Gallery generates the same markup as Cleaner Gallery and even includes the CSS from that plugin.  Why reinvent the wheel when you can maintain compatibility?

To use Tag Gallery simple add tags to your images in the Media Library (as long as Media Tags is installed!) and insert a short code similar to the following into your post or page:

[tag-gallery tag=mytag columns=3 captionson=false theight=150 twidth=150]

What this tells Tag Gallery is to get all the images from the Media Library with the tag ‘mytag’ and create a gallery three columns wide, without captions, and make the thumbnails 15opx square.  Of course, you need to wrap your short code in square brackets.  At the moment, I don’t know how to show a short tag example with brackets without it being processed by WordPress.  Any clues to do so would be greatly appreciated. Installed Code Colorer.  Seems to be working well enough.

So with the previous short-code we would end up with something like the following:

By default, captions are set to false and thumbnails are set to 150px width and height.  Columns default to three and tag is set to ‘tag.’  If Tag Gallery can’t find your tag in the Media Library it will not display anything.  The following Tag Gallery has our thumbnail size set differently than the previous example.  Specifically, I set the ‘theight’ property to 100.

The plugin does not have any test cases and has only been used with WordPress 2.9+ so I can’t say whether it works with any previous versions.  Let me know if you find it works with them or not.  Honestly, your WordPress should be kept up to date but I understand some people have their reasons to keep with an older installation.  I don’t recommend it though.  If the plugin finds itself useful for people I will add features and fix any bugs that arise as I am made aware of them.  Check the readme.txt in the plugin for a list of options and what not.  Let me know if you find a bug and I hope you enjoy this simple but effective plugin.  Finally, I would like to thank Paul Menard and Justin Tadlock for their great plugins, without which, Tag Gallery would have been much more work.  Cheers and Aloha.

This entry was posted in Plugins, Wordpress and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.


  1. Posted May 5, 2010 at 2:37 pm | Permalink

    hey there!

    i was having a grand ol time using tag-gallery until recently. i’d been trying to perform some optimizations on my site (mostly just removing excessive php queries and javascript calls, etc). i hadn’t even gotten to concatenating scripts yet. anyways, i also tried some caching solutions (super cache, w3 total cache) which may have caused my problem. which is…

    my tag-gallery posts no longer seem to generate thumbnails! oh no! i checked the cache folder in the plugins directory and i don’t think it’s making the plugins (i cleared the folder to try to make it rebuild the thumbnails). can you please email me or respond to this post to help me sort it out? thank you!

  2. Posted May 5, 2010 at 3:06 pm | Permalink

    aaaaand it’s working. sorry!

  3. johnny
    Posted May 5, 2010 at 8:53 pm | Permalink

    Ethan, I’m glad you enjoy the plugin and it’s working for you now. Do you know what the problem was? I use WP Super Cache on this site and have had no problems. I do recall having issues with various js compressors though.

    Take care and let me know if you run into any issues. I will be releasing a new version of tag gallery in the coming days.

  4. Posted May 9, 2010 at 11:08 pm | Permalink

    hey there!

    well… if you’re curious, the problem has returned (see http://metafold.net/work/tag/diagrams/ for an example). i’ve been messing around with a lot of caching solutions, trying to make the site just a bit faster. currently i’ve settled on hypercache / db reloaded, which seems to be a decent combo. i ended up minifying all my active javascripts manually (since plugins never seemed to work). i haven’t had any problems with anything else, so that may or may not be related to tag-gallery. what js does tag gallery rely on? i could unminify just that script and reupload it and see if it starts to work.

    ps: the problem seems to be only with the propagation of thumbnails (i.e. the cache folder is empty); the plugin lays out correctly and creates a gallery (that even links to images). when i click on the page source and then through to the link to timthumb (something like “http://blah.net/blahblahwp-content/blah/timthumb.php?imgsrc=blahblah” i get a 500 error, if that helps.) anyways, let me know if you, as the venerated coolio creator have some advice. and yes, your plugin rocks! it helped me avoid having to reupload all my images twice just to index them by separate attributes! yay! cheers,


  5. Posted May 10, 2010 at 12:46 pm | Permalink


    i figured it out. it wasn’t your plugin’s fault at all. my hosting company (lunarpages) has specific controls on php scripts and other files (i think for security reasons). so, for anyone else that had this problem, they require folders to have 755 permissions and files to have 644. thanks again and sorry to be a bother!

  6. johnny
    Posted May 11, 2010 at 9:53 pm | Permalink


    I’m happy to hear you figured it out. Regarding the java-script, tag-gallery does not load any java-script on it’s own. It will use your java-script settings from cleaner-gallery or, if you prefer, you can load your own js to act on the links and thumbnails. You also have the option to change the structure that is generated when you create the short-code. In an upcoming release there is an administrative interface that will allow you set your own defaults for this along with a few other features.

    I checked out your site and it looks great! I did notice you are calling the jquery page-scroller before you include the jquery library so the page-scroller can’t find jquery. Good work and I think your site is a great portfolio and I’m happy you found a good use for tag-gallery. Let me know if you have any ideas for enhancements or you find any bugs.


  7. Jimmy
    Posted June 19, 2010 at 2:43 pm | Permalink

    Hi Johnny,
    This plugin is exactly what I have been looking for! However, I haven’t yet been able to get it to work. I tagged an image and used the short code but the gallery is not appearing… any advice?

    BTW I’m using WordPress 3.0


  8. Jimmy
    Posted June 19, 2010 at 3:35 pm | Permalink

    Update: The source of the problem seems to be the template I’m using. It’s one by Woothemes called Spectrum. Not exactly sure what piece of code is conflicting with the plugin, will investigate and let you know.


  9. johnny
    Posted June 21, 2010 at 12:08 am | Permalink

    I have not used any work from Woothemes but I’ll take a look when I get a chance this week. Regarding WP 3.0, I have yet to test extensively but it seems to work just fine thus far. Also, there is very little that I believe could really break in the code as it is rather simple.

    Do the galleries appear at all? Do you have Media Tags installed? Without Media Tags the plugin will do nothing at all. Please check that your cache folder is writable by the web server as well. Check that folder to see if the images are being generated or not.

    Let me know what you come up with and I look forward to hearing from you!


  10. Jimmy
    Posted June 21, 2010 at 1:32 am | Permalink

    Hi Johnny,
    Thanks for the reply. It turns out that something was going wrong with a line:@import “css/reset.css”;’ n the main stylesheet. I have no idea why, it’s very weird. Anyway, things started to work properly when I copied the css from the reset.css into the main stylesheet, and finally the gallery appeared!

    Could I please ask you one more small question? I would like the thumbnails to link to the attachment page rather than the image file. I’ve tried doing this by using Justin Tadlock’s cleaner gallery plugin, however none of the settings from this plugin seem to be affecting the tag gallery itself, and the thumbnails continue to link directly to the image url.

    Thanks a million for your time and patience!


  11. Davi de Assis
    Posted June 21, 2010 at 6:56 pm | Permalink


    I’m testing the plugin with WordPress 3.0 + EasyPHP. The galleries are created and inserted, but the thumbnails do not appear. They are generated and sent to the folder “…timthumb / cache” correctly, but do not appear in the post. I tested with different themes and the problem persists.

    Any chance to fix this problem in the coming days? I really need to use the plugin as soon as possible.

    Thanks for your great work! ;)

  12. johnny
    Posted June 21, 2010 at 9:54 pm | Permalink

    Tag-Gallery does not follow the idea of media being attached to a page. I wanted to upload and manage media and galleries from the Media Library itself rather than from pages. For example, I may have many tag-galleries setup across a site. Then when I upload an image to the Media Library, rather than on a page, I can tag it to appear in multiple galleries. It’s a different sort of way to work with media than the normal, rather clunky WP way of doing things. My favorite implementation of the tag gallery would be Ethan Feuer’s site

    I hope that clarifies things and I am understanding you correctly. Let me know if you need anything else or I am not quite understanding what you mean. Thanks for using it! I’ll add features as requested and time allows.

  13. johnny
    Posted June 21, 2010 at 9:57 pm | Permalink


    It is likely that some CSS is interfering with the display. See some of the above comments regarding that same situation. If the images are being generated then they are certainly available and being requested. They are never generated unless requested first by a web request. If your site is live you can post a link and I could take a quick glance when I get a moment.


  14. Davi de Assis
    Posted June 21, 2010 at 10:41 pm | Permalink

    Hi, Johnny!

    I updated the plugin with the latest version of timthumb and the thumbnails appeared normal. But does not work with animated GIFs… but, it’s ok! =)

    It would be great if you include a way to configure the plugin via the admin panel of WordPress, with options to change the look of the gallery. So the shortcode would be much simpler.

    A button on TinyMCE Editor also would be nice, perhaps with a field type the name tag or a dropdown menu with all TAGs/Galleries.

    Anyway, thank you! =)

  15. johnny
    Posted June 21, 2010 at 10:56 pm | Permalink


    I have been tooling around with an editor for a bit along with a few other feature enhancements. I’ll have to check out the latest timthumb and see what could have been going on with that. I’ve testing it on Ubuntu/Nginx and using XAMPP on Windows and have not had any trouble.

    You can change the look of the gallery via CSS. You can also install Cleaner Gallery and use your JS settings from that plugin to configure how the popups work. Finally, check out the usage in the readme file regarding changing the look. You can set the html tags that used, the number of columns, the height and width of generated thumbnails, etc.

    I hope to release a new version of the plugin in the coming weeks. I’ve been very busy with work lately so haven’t had a chance to finalize everything.

    Could you tell me what version of PHP you are using?

    Take care and let me know if you need anything else.

  16. Jimmy
    Posted June 21, 2010 at 11:24 pm | Permalink

    Hi Johnny,
    Yes I was trying to get the images to link to the attachment page rather than the image file! Looks like I may be using the wrong plugin :P , anyway, maybe I can still do this just with media tags, though I’m not really sure where to start!

    Thanks so much for your help Johnny.



  17. Jimmy
    Posted June 22, 2010 at 10:57 am | Permalink

    Hiya Johnny,
    Still messing around with the plugin. Have been trying to change the tag-gallery.php file with “wp_get_attachment_url”, just wondering if you have any hints? I’ll admit I’m not 100% sure what I’m doing!


  18. johnny
    Posted June 22, 2010 at 11:16 pm | Permalink

    It was not initially intended to work in that way but it appears your asking for a feature. So, I’ll take a look at adding an option such as ‘linkattached’ to the code for linking the images to the attachment page. I’ll try to get this into the next version coming within the week. Remember, if you change the code for tag-gallery.php those changes won’t survive an update.


  19. Jimmy
    Posted June 22, 2010 at 11:27 pm | Permalink

    That would be fantastic Johnny. Feel free to contact me by email if you would like me to send a link to the website, and maybe you could use it for some kind of showcase of the plugin in the future.

    Thanks again,


  20. Jimmy
    Posted June 30, 2010 at 12:56 pm | Permalink

    Hi Johnny,
    I think these features would also be really useful.

    - Paginated gallery for larger galleries
    - sort images by date etc.



  21. Frank McClung
    Posted September 22, 2010 at 5:17 pm | Permalink

    Great plugin Johnny, should be part of the WP core. I’m having trouble getting the gallery to show up. Currently it just shows the code in the post and not the images:


    Any thoughts? I’ve tried the suggestions above but to no avail.



  22. johnny
    Posted September 22, 2010 at 6:35 pm | Permalink


    Nice website. That is really odd behavior though. Your site is displaying the short code, which is a normal feature of WordPress and should be parsed by WordPress automatically and never displayed. For example, even if you don’t have Media Tags installed you should get no output at all and certainly not the short code itself showing up. I tried to reproduce the error myself but unfortunately could not and don’t have time today to do any research. Could you provide me a list of plugins you have activated and the theme you are using? Are the plugins the latest versions and are which version of WordPress are you using? I’ve already got your server setup information.

    I’ve never known WordPress to not parse short codes so this is interesting. We’ll get your galleries working though!

    Also, a quick note to anyone reading this, I will be releasing a maintenance release to fix a bug with Tag Gallery when used with PHP 5.3+ and hope to finalize the next real version within the coming weeks with lots of goodies! Busy, busy!

  23. johnny
    Posted September 22, 2010 at 6:52 pm | Permalink


    I just Googled around and it appears the first step would be to disable other plugins, then only enable Media Tags, Tag Gallery, and optionally Cleaner Gallery. Check that it works. If it does, enable your other plugins one at a time and check that it works after each one to find the culprit that is causing the problem with short codes. When you discover it please let me know so I can contact the author and provide him a fix. Thanks!


  24. Posted September 26, 2010 at 12:33 am | Permalink

    Hi there Johnny. Such a great plugin, but I’m such a n00b when it comes to programming. I don’t know whether I’m doing something wrong or it is a limitation for the plugin, so I though I should ask you anyway.

    My galleries have always worked nicely, but recently they started to mess up the order of the images a little. So, I upload images, tag them correctly, but in the gallery they appear out of order (with a bunch of the first ones appearing at the end).

    Feel free to check my site (it’s in Portuguese, but navigable) and notice, for example, in the “Prey” post where the last 4 images should appear at the beginning of the gallery, not the end.

    Thanks in advance if any help can be given.

  25. Posted October 20, 2010 at 11:53 am | Permalink

    Just wanted to say how useful this plugin is, solved so many potential problems for me so thank you very much for it.

    One thing that would make it work even better for me would be the option to have multiple tag criteria. For instance at the moment I can set multiple tags but this results in all pictures in each of these tag groups to be shown and not only pictures that have both tags. Hope this makes sense.

    Even without this as a feature this is still a must have plugin for me!

  26. Kevin
    Posted November 11, 2010 at 10:15 pm | Permalink

    Just wanted to say thank you for one of the most valuable plugins available. Great work!


  27. Luiz Alves
    Posted November 30, 2010 at 12:52 pm | Permalink

    Cleaner Gallery got an update to version 0.9, and now the galleries are all messed up, displaying only one long column, ignoring the custom number of columns I set up (in my case 6). Help!

  28. Posted December 7, 2010 at 2:53 pm | Permalink

    Is there a possibility of showing titles & captions under the images?

  29. Posted December 10, 2010 at 4:07 am | Permalink

    I uncovered a slight error on line 32 of gallery.php — you’re checking to see if Cleaner Gallery is installed, and if so, use its stylesheet, but apparently that plugin has changed the filename (and version) of its stylesheet to simply gallery.css instead of cleaner-gallery.css.

  30. Posted December 13, 2010 at 8:55 pm | Permalink

    I’m testing this on a client’s website and love it love it love it.

    Can you set a maximum per page? Then we can offer next/previous page of thumbs…

    I will donate if you will upgrade…


  31. johnny
    Posted December 13, 2010 at 11:27 pm | Permalink


    There is an option to show captions under your thumbnails. In your shortcode add captionson=true and it will do that for you.

    Adam, Luiz,

    Thanks for the note. I hope to have time over the holiday to overhaul the plugin quite a bit. I’ll definitely check out the changes to Cleaner Gallery and go ahead and future proof Tag Gallery. I’m also planning on a new thumbnail generation system, so there will be more options and better names and caching of the thumbnails. Many new features on the way!


    I’m very glad you like the plugin and find it useful. That is great to hear! I had not considered adding pagination. That would be a great addition. As noted above I’m currently updating the plugin and will have more time over the holiday to do so. I’ve added your feature request to the list of to-do’s.

    Thanks everyone for the great comments!

  32. Posted December 21, 2010 at 8:21 pm | Permalink

    Hey Johnny

    Just installed your plugin and am very excited to get started with it, but unfortunately my WP install doesn’t want to render the [tag-gallery] short-code. The regular gallery short-code ([gallery]) works just fine, and your short-code does not show up as plain text on the rendered page. So it would seem wordpress recognizes it as a short-code tag, but doesn’t know what do do with it. I’ve checked everything else mentioned in the comments here, and I really hope it’s not something small I’ve overlooked! Any ideas?


  33. johnny
    Posted December 23, 2010 at 7:13 am | Permalink


    Thanks for checking out tag gallery. Could you please provide the WordPress and PHP versions you are using? Also, check the folder in PLUGIN_PATH/tag-gallery/timthumb/cache/ and let me know if image thumbnails are being generated. I am also assuming you have the Media Tags plugin installed/activated and that you have tagged media in your library.

    I am aware of issues regarding timthumb. The upcoming version of tag gallery will not rely on timthumb for thumbnail generation or caching. The intended release for the new version with many new features and bug fixes is slated for the second week of 2011. In the mean time, we should be able to get your install working correctly.

  34. Posted December 28, 2010 at 7:56 pm | Permalink

    Hey Johnny,

    I’m using WordPress 3.0.3 and PHP 5.2.15. I do have the Media Tags plugin installed & activated, and have some images tagged in the gallery. It wouldn’t surprise me if it was a PHP config issue (I’ve had many issues with my host before), but so far I haven’t figured it out!

    Thanks again!

  35. johnny
    Posted January 10, 2011 at 5:00 am | Permalink


    Apologies for not getting back to you sooner. The holidays and family have taken much of my time. Your WP and PHP version should be compatible with the version of tag gallery that is currently public. I’ve used and tested both aside from the particular minor version of PHP; which shouldn’t be an issue.

    Could you check out the /path/to/your-plugins/tag-gallery/timthumb/cache/ directory and let me know if the thumbnails are being generated? If they are not in the folder are they still appearing on the site? TimThumb has too many edge cases for my taste so the new version does not rely on it, especially for caching. I’m also hoping this leads to better thumb file naming although that is not a priority for this release.

    Thanks! Hope you had a great holiday and I hope your excited for the new version of Tag Gallery.


    ps. The new version is taking a bit longer than expected. It will definitely be public by the end of the January if not sooner. So many new features and future proofing to test. I also hope for lots of user input such as yours! Without users like you there would be no reason! Thank you!

  36. Posted January 24, 2011 at 1:12 pm | Permalink

    hi there
    First of all, the plugin is very very useful. However, it has some errors:

    Please take a look at following 2 pages, one of them displays a ‘normal’ gallery with links in captions – and it works just fine. The second one is with tag-gallery code [ tag-gallery tag=broń columns=5 theight=100 twidth=100 ] and it fails to display a proper number of columns (only one column shows up), plus it has a problem with proper display of caption link. What can I do to make tag-gallery look exactly like default gallery?

    Please help :)

  37. kasia
    Posted January 24, 2011 at 1:15 pm | Permalink

    Sorry, here are the links:

    the one with proper display of wp-gallery: http://www.parampara.pl/imp/zbiory-parampara/indie/

    tag-gallery: http://www.parampara.pl/imp/uzbrojenie/

  38. Posted January 25, 2011 at 2:22 am | Permalink

    Hello, just wanted to thank you for the great plugin- I just recently redesigned my portfolio site/blog and tag gallery saved me a lot of headaches. I personally found it almost perfect as is, except for not being able to sort. It seems any time I add new images, they can end up on either the front, tail or even middle of the gallery. Eagerly awaiting the new version and hoping an “orderby” feature is included. Thanks!

  39. Harry
    Posted March 22, 2011 at 6:30 am | Permalink

    Great plugin – it’s pulling together some functionality that should be built into WP! Thanks for your work on it.

    Two issues I’m running into:
    – the call for cleaner-gallery.css should just be gallery.css for Cleaner Gallery’s stylesheet. I emailed you about that.
    – I can’t pass the Media Tags tags_compare value through, when I want to AND tags. I think it’s because that parameter isn’t accounted for in the tag-gallery shortcode handler.

  40. johnny
    Posted March 22, 2011 at 7:09 am | Permalink


    Thanks for the encouragement, the comment and the email. I’ve replied to your email with some details regarding your first issue. In the hopes of helping anyone reading this I would like to go a bit into detail for a moment.

    Cleaner gallery changed the name of the CSS file used by that plugin. That file was rather generic to begin with but in a nod to Justin, a pillar in the WordPress community, I included his files when you used Tag Gallery in conjunction with Cleaner Gallery. The most important functionality from Cleaner Gallery was the java-script tags included in your html for interactivity. There will be a very minor release to bring Tag Gallery up to date with CG very soon. It includes a few bug fixes and a few enhancements.

    Regarding the new versions of Tag Gallery, the list of features is large so they will be released slowly so no one is hurt in any way by unexpected hooplah… whatever that means. Let’s just say I’m responsible in releases but overzealous at times with coding.

    Regarding Media Tags functionality, passing parameters to MT will be allowed to an extent including, as many requested, order_by, a few others and some enhanced. I’m remaining conservative on this front for good reason but have experimented with a full on pass-through which will likely be available.

    Thanks again for the kind words! Check your email beta tester!

  41. Harry
    Posted March 28, 2011 at 8:45 am | Permalink

    Another tangent. I’m trying to figure out a good way to handle a video gallery using Media Tags and Tag Gallery. I’d love to be able to display like TubePress does, but hosting my own videos, and tagging them alongside the rest of the media.

    I have a feeling when I hit the mp3s of this same site, I’m going to run into a similar issue.

  42. Posted April 14, 2011 at 3:03 am | Permalink

    What do I do to get in on the beta? I am trying to use this, but the thumbnails only display the red x. The cache folder does not have any files in it.

  43. Posted May 18, 2011 at 11:52 pm | Permalink

    Thank you! I wanted something simple and you have done it – please continue to support it – it’s such a simple thing, yet so powerful.

  44. Zach
    Posted June 6, 2011 at 5:05 pm | Permalink

    Hi, thanks very much for creating and sharing this. I just wanted to ask – would there be an easy way to output a gallery from the mediatags_cloud(); function? I’d like to automatically display a list of all tags created which would then generate a tag gallery on click. Cheers : )

  45. Posted June 20, 2011 at 2:43 pm | Permalink

    For those of you who are having issues with the thumbnails not generating, and find that there are no thumbnails in the /cache folder, here’s what I was able to do to fix the issue. I ended up contacting my hosting service (HostGator), and the tech was able to clear up the problem. He said as follows:

    “Apache’s security module was blocking a portion of that script which looks like a potential risk. I just told it to ignore that in this case, and now the script can run.”

    Now it works perfectly. Hope that helps anyone else running into the same issue.

  46. Posted June 21, 2011 at 11:57 pm | Permalink

    Is it possible to show the dates the images were uploaded? Thanks! :D :D

  47. MissDeMilo
    Posted July 12, 2011 at 12:04 am | Permalink

    Hi Johnny,

    Okay I’ve installed and tried out several photo gallery plug-ins and what you say it absolutely true – none of them provide exactly what I need and you have created one that is what I was looking for.

    I have one question – and maybe you or someone else can help me with this. Are we able to sort the thumbnails by the caption name at this time? I noticed that the only way they are being sorted on my end are in descending order based on the date the file was uploaded to WordPress. This is the only red flag that is keeping me from being able to use this plug-in for my project because otherwise, this is the best solution I have found and I’ve been searching for a couple of weeks now on a daily basis.

    Thank you again for your plug-in so far!! It works fine with wp version 3.1.3 so far.

  48. Posted July 31, 2011 at 8:35 pm | Permalink

    Is there a way to preload the thumbnails/images? Something that’ll work with the tag gallery?

  49. Posted August 4, 2011 at 10:29 pm | Permalink

    tag – The tag you want from the media library, defaults to ‘tag’
    itemtag – HTML wrapping each item, default is dl.
    icontag – HTML wrapping each image, default is dt.
    captiontag – Caption HTML tag, default is dd.
    captionson – True/False whether to show captions. Default is false.
    columns – Number of columns.
    theight – Thumbnail height.
    twidth – Thumnail width.

    I am leaving this here because I didn’t see where you had it listed in your post, and it’s less clunky than relooking up the plugin. ;) I love it so far though, mega-thanks!

  50. Posted August 6, 2011 at 2:15 pm | Permalink

    I really love this plugin! Can you give any pointers on speeding up the load time?

  51. Posted August 31, 2011 at 5:21 am | Permalink

    Hi, I can’t seem to get tag gallery working. I have media tags installed and have used this code: [tag-gallery tag=mediashare] – nothing shows up in html source. I’ve looked through posts but haven’t come across the solution. Any thoughts? Thank you!

  52. Catherine
    Posted September 1, 2011 at 9:28 pm | Permalink

    I am copying and pasting your code exactly and getting only 1 column – is this a solvable problem? I”m using Magazine Premium as my theme…

  53. johnny
    Posted September 30, 2011 at 10:19 pm | Permalink

    Everyone should upgrade to the latest version of tag gallery. Its a security update of TimThumb. This is very important.

  54. Posted December 10, 2011 at 6:36 pm | Permalink

    Fantastic plugin, exactly what I needed!
    I have a lot of images (not really blogging much) and this solution combined with the media-tags plugin provides a wonderful way to display images by the tags. What is nice is that the images do not have to be linked to a post or portfolio.

    I too had initial problems with the thumbs not generating (solved with cache permissions) + the conflict with Cleaner Gallery (I had to uninstall it)
    You can see it in action on my website (Browse by country menu)

    Just wanting to say thanks


  55. John
    Posted December 14, 2011 at 8:54 pm | Permalink

    Yeah, I had the thumbs-not-generating problem too. What’s the answer? I’m on v. 0.20 of Tag Gallery.

  56. JC
    Posted January 25, 2012 at 5:53 am | Permalink

    I really love your plugin. Its great and im trying to figure all the ways i can use it.

    Is there a way I can choose a tag, but exclude images with a certain tag. For example if i have a tag of car and a tag of red. Can I do something like tag=car,-red. That way I dont get any red cars? That would be a HUGE for me if it did that.

  57. Rory
    Posted February 23, 2012 at 1:47 am | Permalink

    I cannot for the life of me get this plugin to output anything at all!! are there any gallery ninjas that may be willing to offer a little guidance for a noobie? thanks!

  58. Posted March 1, 2012 at 2:13 am | Permalink

    I seem to be having trouble getting tag gallery to work. The gallery doesn’t show up at all.

    I am using Woo Themes ‘The Morning After’ (TMA). I have updated TimThumb in all its instances (in Tag Gallery and TMA). I have changed the path to be the absolute path, as recommended.

    Galleries put in before August last year seem to still work, but I can’t get any new ones to work. If you have any advice, i would be very very grateful.

    It’s such a great plugin. I would really like to be able to see it working.

  59. Achim
    Posted April 21, 2012 at 6:44 pm | Permalink

    I’ve looked through this thread but I am unclear: is there any way to order the thumbnails now?

Post a Comment

Your email is never published nor shared. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Tweet, tweet...

    • At Bocoup Loft for some jquery meetup goodness. 2010-04-07
    • Digging deeper into Media Tags and wordpress... considering quite a few new features for the next version of Tag Gallery... collages anyone? 2010-04-06
    • Fine tuning nginx for http://johnnypeck.com - having a few issues with some optimizations but overall, performance is incredible. 2010-03-31
    • More updates...
  • Donations

    Donate to the development of Tag Gallery! It let's me spend more time on it. Thanks!