Wordpress - Images not showing up in the Media Library

前端 未结 12 1946
春和景丽
春和景丽 2021-01-01 15:48

I have a huge problem with my Wordpress. My uploaded images don\'t list in the Media Library.

It is weird tho, it says I have 75 images, but display none. Take a loo

12条回答
  •  自闭症患者
    2021-01-01 16:26

    Here's something a guy on Wordpress forum showed us. Add the following to your functions.php file. (remember to create a backup of your functions.php first)

    add_filter( 'wp_image_editors', 'change_graphic_lib' );
    function change_graphic_lib($array) {
      return array( 'WP_Image_Editor_GD', 'WP_Image_Editor_Imagick' );
    }
    

    ...it was that simple.

提交回复
热议问题