• WordPress version: 5.9.3
    PHP version: 7.4.29
    Theme: Maranatha, Version: 2.6, By ChurchThemes.com

    Plugins: Advanced Editor Tools (previously TinyMCE Advanced), Akismet Anti-Spam, Church Content, Church Content Pro, Classic Editor, Display PHP Version, Enable Media Replace, Image and Media Byline Credits, Jetpack, Mediamatic Lite, Popup Maker, SiteGround Optimizer, UpdraftPlus – Backup/Restore, WP Help, WP-Optimize – Clean, Compress, Cache.

    I thought the “Uploaded To” field in the media library would help me find all pages and posts where an image is displayed but it didn’t work as I expected. I looked up the field description here: https://wordpress.org/support/article/media-library-screen/ where it says “If the Media has been attached to more than one Post or Page, only the details of the first Post or Page will be displayed.” Is there a simple way to find all pages/posts where an image is displayed?

    The next issue confusing me is that I have several images in my Image Library where the “Uploaded To” field says “Unattached” when those images actually are being used on certain pages. For some other images the “Uploaded To” field shows a specified page but the image does not appear on that page. Why am I seeing these apparent errors or am I misunderstanding the purpose of the “Upload To” field?

    On this second issue, I read this thread which contained pertinent info.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • It appears that images on your site were added using a plugin or theme function. While that functionality may have added it to the page or post, it appears (based on your questions above) that the ‘attached to’ function of the default media library inserter was not used to provide the attachment information in those cases.

    I am not sure that a featured image is shown as attached or a banner image from a plugin or theme (common specific cases on your site).

    Also, an image can be uploaded to the site without using the media library or other function but manually via FTP and then the IMG is manually added in HTML.

    Review the method(s) used to include these images and consult the plugin or theme provider that was/is used to see if they have any input.

    So, this just adds to the known issues of finding attached images simply in WordPress.

    May I ask what the task that you are attempting to accomplish is when trying to find images?

    Thread Starter banditrvp

    (@banditrvp)

    Thanks for the reply. For adding images, I maintain a folder on my computer with the banner-style images (1600×400 px) I use for the featured images on the website. Once an image is properly sized, I save it to my computer folder, and then I use the Add New feature in the media library to add the image to the library from my folder. When adding a featured image to a page, I always select it from the media library. That’s the process I’ve used since I started the website in 2017. So far as I know, I’m not using any plugin or theme features to add images to the media library or insert them on pages.

    What I’m trying to accomplish: Over the years my image processing skills have improved. Rather than using the Banner Image Opacity option for making text readable over a banner image, I’ve found that using darker toned images with a higher opacity setting (80-100%) gives me a nicer-looking result (at least in my opinion). If I want to adjust or replace an image, I need to know what pages the image appears on as I’ve used a lot of them on multiple pages.

    At first, I thought there should be a simple way to find what pages an image is posted on but after several hours of looking at plugins and reading forums, your comment “this just adds to the known issues of finding attached images simply in WordPress” sums up my findings.

    On Monday, I added the plugin “Mediamatic Lite” that let me create a virtual folder structure in the media library to help me better organize my photos and pdf’s.

    On Tuesday I added the plugin “Enable Media Replace” which lets you replace an image in the media library and it updates the replacement on all the pages where the image appeared. This seemed to be just what I was looking for. I’ve used it for several images now and it does what it says but I still need to know what pages the original image was posted on to check the change and to adjust the Banner Image Opacity setting which is a big part of what I want to accomplish.

    What I’ve ended up doing is creating a spreadsheet with the date, page title, and feature image name for each page. At around 300 pages it took a few hours but was doable. Sorting that by image name shows me the pages I’m looking for. It just seems to me that with a database-driven website, there should be a way to click on an image in the media library and see the locations where the image appears.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Is there a way to find all pages/posts where an image is displayed?’ is closed to new replies.