Forums

[resolved] Media Library won't show all the files (7 posts)

  1. Sandhog
    Member
    Posted 2 years ago #

    Whether I FTP a file or upload it from the Media library, it's in the same wd-content/upload folder. Yet the media library only shows the ones uploaded there. Does anyone know why the ones I FTP'd doesn't show up in the media library? I'm really going crazy. Please help me!!

  2. s_ha_dum (was apljdi)
    Member
    Posted 2 years ago #

    You can't FTP into the media library. It doesn't work that way. When WordPress uploads files it stores the image in the uploads directory (by default) and also stores information about the image in the database. If you upload via ftp the database information is missing.

    I've though about building something to scan the uploads directory and update the DB, but that has to wait until I'm not sure when.

  3. MichaelH
    Volunteer
    Posted 2 years ago #

    Here's a little jewel that might be useful:
    http://wordpress.org/extend/plugins/add-from-server/

  4. Mark / t31os
    Moderator
    Posted 2 years ago #

    If you must use FTP, there is the option of the following plugin to add FTP'ed uploads into the media library.
    http://wordpress.org/extend/plugins/add-from-server/

  5. s_ha_dum (was apljdi)
    Member
    Posted 2 years ago #

    Well that plugin saves me the trouble. :)

  6. Mark / t31os
    Moderator
    Posted 2 years ago #

    Popular question.. i think it was Michael who initially pointed it out to me, very handy plugin considering how often this question pops up... :)

  7. Beq
    Member
    Posted 2 years ago #

    Oh joy! This may fix the errors I keep getting when trying to use the browser to upload! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic