Visiting the new WP media library causes my PC to crash

  • The grid feature is new, yes. It became the new default for the media library day before yesterday.

    No problem :) I can’t remove a tag someone else added. In any case they will see the other issues you raised here.

  • September? September?

    Wow. I must need a long rest. I believe we’re in the month of July. Why am I trying to rush to eclipse summer? Can we please just start this thread over from scratch? Where’s my proofreader?

  • LOL! I was wondering about that, but as my birthday’s in September (and for me it would herald the start of spring), I said nothing :-D

  • My confusing page URL with image URL in the last thread wasn’t bad enough. Now I can’t even get the right season.

  • Making a lot more errors than usual. I better lay low for a while.

  • Hi folks,

    It looks like the purpose of this thread, solving the mystery of doc’s crashing PC sometime in the region of late September ( ;) ) has been fixed; so I’m clearing the modlook tag.

    @doc, I do have to suggest that whenever you have a spare hour (or 5 I guess), you may want to go through all of those 10,000 images and remove the ones you don’t need. It should be pretty easy to tell the ones that are unattached, just load up the list view, make sure that any image isn’t needed for your theme (it isn’t used in the header or a sidebar), and if it says “unattached” in the right column, delete it. It’ll help in instances like this! :)

    Have a great one.

  • @ amightywp,

    Not quite so easy as you suggest. For various reasons many of my unattached images represent images which are presently embedded in pages and posts. Here’s a major reason why, in a nutshell:

    For years I’ve typically created new features in both pages and posts, and typically deleted the duplicate post within a few days to a few months after publishing. I’ve a page in my blog regarding my preference for pages over posts. Note that most of my features also have anywhere between several and more than a hundred embedded images and a portion of them, perhaps 15-20%, contain displayed galleries or slide shows, or both galleries and slide shows.

    If I upload the images to a page, and then delete the duplicate post, no attached images are lost and all is well. Trouble is, for a long while I often uploaded the images to the post, not to the page, then deleted the page sometime later. These images became unattached, though I didn’t realize that for some time. And if I deleted them they disappeared from the page in which they were still embedded. Took me a while to figure out why I kept finding missing images all over the site.

    At one point, last year I think it was, before I recognized what was happening I decided to delete a bunch of posts which I’d left as drafts or pending. These were mostly duplicate posts. After deleting some 80 or 90 of them (posts) I began to find that a disturbingly high percentage of visitors suddenly began receiving 404 errors. Feedjit logs showed that regularly 20-30% of my visitors were going to pages (images) which didn’t exist. How could that be?

    Like I said, I figured it out after awhile. While deleting hundreds of images from the growing collection of unattached images in my media gallery, just as you suggest above, thinking that nothing would be lost, I was also removing them from their positions in dozens of pages, posts, and galleries all over the site.

    Big problem:
    WP doesn’t tell you, doesn’t have any information, or didn’t last time I checked, as to where the unattached images in your media library may be embedded or displayed in posts, pages, and galleries!

  • Sorry, that wasn’t a nutshell. That’s a sketch of the tree.

  • Ah, I’m picking up what you’re putting down. I can see why you’re nervous to delete any of the images too.

    Fair enough, fair enough. I withdraw my statement!

  • Cool. One correction, though. I said,

    Trouble is, for a long while I often uploaded the images to the post, not to the page, then deleted the page sometime later. These images became unattached, though I didn’t realize that for some time.

    That should have been. “I deleted the post sometime later.” I deleted the location where the images were attached, not understanding that

    • a. the images were not attached to the pages in which they still existed,
    • b. the images from the deleted post were still in the media library, but unattached,
    • c. that it is very difficult to keep track of which pages or posts those unattached images might be hiding in, and

    • d. to know which unattached images are in no pages or posts at all.
  • Complicating the matter, all images I’ve placed in the following locations are unattached:

    • header
    • sidebar
    • comments
    • And, I’ve frequently changed the content of the leading post on the front page. Might have several hundred images in there. A couple of times I accumulated so many that I’ve decided to get rid of them all by deleting the post. Uh huh. Nice try. They all went to the “unattached” pool. So why not just delete all of those images in that post? Because, although I usually now only upload images to pages I haven’t always been so strict, so some of the images in that unused images in that leading post might also be used elsewhere on the site. And how do you find out where? Again, WordPress does not tell you if an unattached image is being used on your site, nor, if it is used where it are used…except for the header images.

  • The topic ‘Visiting the new WP media library causes my PC to crash’ is closed to new replies.