I'm trying to write a plugin, and I'm having a hard time going about it.
How would your write a query that searches the (POSTS)table for (ID) that contain post_mime_type of the value "image/jpeg"
I want to return the result into a
<li> list of some sort. One where I can possibly then display on a potential page of some sort.