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…

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