WordPress.org

Ready to get started?Download WordPress

Forums

Adding files to Media Library (9 posts)

  1. Finland Blue
    Member
    Posted 3 years ago #

    I cannot upload files to Media Library using the "Add New" - "Upload New Media" on-line system. It will not work and I cannot find out why (so far).

    Is there a way to do it by FTP'ing the files ?

  2. Saildude
    Member
    Posted 3 years ago #

    You can FTP files to your site outside of the Media Library and then just use the URL of the file when you are making a Post. This can be done completely outside the Media Library. The files do not need to be uploaded into the same directory that the Media Library uses. Bit more awkward is all.

  3. Finland Blue
    Member
    Posted 3 years ago #

    Thanks Saildude. I tired that but ... I want to set some images as the "Featured Image" (so they show as thumbnails), but using the URL option only seems to allow images to be "inserted into post". From the Media Library, it allows also "Use as featured image" ...
    Any ideas ..?

  4. chinmoy
    Member
    Posted 3 years ago #

    add this line add_theme_support( 'post-thumbnails' ); on your theme's function.php file. Then check it once in admin.

  5. Finland Blue
    Member
    Posted 3 years ago #

    So I open functions.php and paste this : add_theme_support( 'post-thumbnails' );

    ... anywhere in the file, or ...?

  6. chinmoy
    Member
    Posted 3 years ago #

    yes..

  7. Finland Blue
    Member
    Posted 3 years ago #

    I put it in a few places, but just get error messages on going back to my Dashboard, eg :

    Fatal error: Call to undefined function: require_wp_db() in \\winweb\data\Blog\wp-settings.php on line 71

  8. chinmoy
    Member
    Posted 3 years ago #

    Which version you installed. It will be work for WP 2.9 and greater.

  9. chinmoy
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.