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 7

Part 7 of our User Submitted Image Gallery tutorial series is going to demonstrate how to customize the dashboard columns of our image post type, and also how to add a new widget to our dashboard that displays the latest pending image submissions. In this part we are really focusing on two customizations to the…

User Submitted Image Gallery – Part 6

Part 6 of User Submitted Image Galleries will show you how to setup the single image page that shows the details for a particular image. This section is not very complex, but it covers a few very important techniques that are really good to know when it comes to modifying information on post templates via…

User Submitted Image Gallery – Part 3

In part three of the User Submitted Image Galleries series, we’re going to look at automatically creating our “guest” user account, and process the image uploads from the submission form. This is where our plugin really begins to take shape. After this section, we will get into actually displaying our images on the “gallery” page.…

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,…