Support » Fixing WordPress » Media Library Help

  • Hello just a question I have a page that i want to include all the images that i have used in all my post, the [gallery] is not to work unless i uploaded the images to that page is their a way to just include all the images that are in the media library in my page thank!!!??

Viewing 2 replies - 1 through 2 (of 2 total)
  • *BUMP*

    I have a similar (same?) requirement — I need to show only the media library images belonging to each subscriber.

    The logical way to do this would be to add “and post_author = “.$userdata->ID to the wpdb query, but I have been unable to discover how/where to do that.

    I was able to unset from the posts array the non-relevant images (wp-admin/includes/media.php, ~ line 1138), but even though the posts array in $wp_query is now reduced to only the images belonging to that user, ALL the images still show up in the display.

    I would be extremely grateful for a pointer to the “right way” to accomplish this seemingly simple hack.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Media Library Help’ is closed to new replies.