User Submitted Image Gallery – Final Overview

We covered a lot of information in the User Submitted Image Galleries tutorial series, everything from registering our post types and custom taxonomies to performing advanced queries; from uploading images on the front end to configuring the backend; from outputting our images in a gallery to displaying additional images by the same user. There were…

User Submitted Image Gallery – Part 8

In this final part of the User Submitted ImageGallery tutorial series, we will look at adding just a couple more features to our gallery system. We are going to add the ability to view all images by a particular user. This will be done by clicking on the name of the author when viewing a…

User Submitted Image Gallery – Part 4

In part three of this User Submitted Image Gallery plugin tutorial series, we created the function that processes image uploads. Now it is time to build our gallery’s short code, which will be used to display the complete gallery of user submitted images. This short code is rather complex and we won’t fully finish it…

User Submitted Gallery Images – Part 2

In this part of the User Submitted Image Galleries series we will look at setting up our custom image sizes and also the image submission form. In the previous part we registered out custom post types and taxonomies, and setup the basic structure of the plugin. This entry is part 2 of 9 in the…

User Submitting Gallery Images – Part 1

In part one of the User Submitted Image Galleries tutorial series, I’m going to walk you through the beginning steps of setting up our User Image Gallery plugin. This is a plugin that will allow us to have a user-submitting gallery of images our website. If a user registered an logged-in, they will be able…

Image Gallery Short Code Using Post Attachments

The built-in WordPress gallery systems leaves much to be desired. It works well if a theme supports it, but it can be difficult to customize, especially if you have any special markup you’d like with the gallery. While working on a client’s theme, I wrote up a quick short code function that can be used…

Retrieve Attachment ID from Image URL

Especially when developing plugins or theme settings that make use of the WordPress media uploader to upload and insert images, being able to retrieve the ID of the image uploaded can be extremely useful. By grabbing the image (attachment) ID, you suddenly have a lot more control over what you can do with the image,…