Envira Gallery Blog

Digital Photography Tips, Tutorials and Resources

Organize Photos in WordPress

How to Group Photos and Organize them in WordPress

by Waseem Abbas on Dec 2, 2015

Share This Post!

Have you ever wanted to organize your photos in WordPress only to realize that it’s not possible. Despite modest improvements, WordPress Media Library is long away away from being a perfect solution. That’s why we built a solution that allows you to group photos in WordPress by using tags. In this article, we will explain how to group photos and organize them in WordPress.

Understanding the WordPress Images Problem

WordPress’ drag-and-drop media uploader makes it really easy to upload photos. However, these photos are organized by the upload dates which is not ideal.

If you’re a photographer who upload thousands of photos, then you probably need a better way to sort and organize your photos.

For example, if you take a trip to London in 2014 and 2015, and wanted to showcase all your photos from your London trips, it would be nearly impossible with the native WordPress media library.

Well, we fixed that.

How to Tag Photos in WordPress

The best way to organize images in WordPress is by using tags. Image tags allow you to group your WordPress photos and easily sort them in a gallery display.

Since our goal at Envira Gallery is to be most complete WordPress gallery plugin, we created a Tags Addon that can help you organize your photos in groups.

Aside from organizing your photos using tags in the WordPress admin area, Envira also allows you to create new galleries based on tags as well as sort images by tag within an existing gallery.

Let’s take a look at how you can tag photos in WordPress.

First thing you need to do is to install and activate Envira Gallery plugin. Next, you need to activate the Tags Addon.

You can activate addons by going to Envira Gallery » Settings and clicking on Install Addon.

 

Envira Gallery Settings

Once you have activated the Tags Addon, let’s go ahead and create a new gallery.

Add New Gallery

On the gallery creation screen, go to the Tags tab and enable the tag filtering option.

Enable Tag Filtering

Now as you upload the images in the gallery, click on the information (i) icon to add the tags of your choice. Repeat this step with all the images to tag them.

Images For Gallery

Your images can have multiple tags as long as they are comma separated. You can use dashes (-) and underscores (_) in your tags, but don’t use periods or other special characters.

Add Meta Tag

Once the tags are added, go ahead and save the gallery.

Next, you need to add the gallery to a post or page. You can do this by creating a new post or existing an old one.

From your post editor screen, click on the Add Gallery button and select the gallery you want to display.

Gallery Shortcode Screen

Now when you visit the gallery page, you will see that there is a sort by tag option above your photos. Your users can click on the tag name, and it will display all photos associated with that tag.

Showing Images From All Tags

Images Filtered By Tag

How to Create WordPress Galleries Based on Tags

Aside from the sort by tag options that you can add to individual galleries, you can also use tags to dynamically create galleries based on individual tags.

Envira’s Dynamic Addon allows you to create galleries from multiple sources, and image tags is one of them.

First, you would need to install and activate the Dynamic Addon.

Next use the following shortcode to display galleries based on tags:

[[envira-gallery-dynamic id=”tags-XXX”]]

You can find your image tags ID by going to Envira Gallery » Tags and clicking on the individual tag. The URL will look something like this:

Tag ID

Use that tag ID in your shortcode, and the Dynamic addon will create a new gallery based on the specified tag.

This gallery will be dynamically updated as you add new photos on your site with the specific tag.

We hope this article explained you how to group photos and organize them in WordPress. You may also want to check out our hand-picked list of 55 best free WordPress Photography themes.

For more useful resources and news, follow us on Facebook and Twitter.

Share This Post!

Comments

  1. Thank you. This looks good, but I already have many galleries. I want to know how to re-sort the photos (thumbnails) AFTER I have uploaded the entire gallery. I didn’t know about tagging as I uploaded. Now my problem is sorting so that all the photos from the same shoot are shown together in the gallery. They are random now.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.