admin管理员组文章数量:1316669
What is the reason/s that the WordPress Media Folder, doesn't display images that were uploaded via FTP, directly to the uploads folder? Why doesn't WordPress "see" them? why do we always have to upload via the WordPress media uploader? What does it do?
What is the reason/s that the WordPress Media Folder, doesn't display images that were uploaded via FTP, directly to the uploads folder? Why doesn't WordPress "see" them? why do we always have to upload via the WordPress media uploader? What does it do?
Share Improve this question edited Jun 10, 2016 at 12:51 Dmitry Mayorov 3511 silver badge10 bronze badges asked Jun 10, 2016 at 10:58 taltal 411 silver badge5 bronze badges4 Answers
Reset to default 2Because WordPress is not scanning all the folders all the time. When you upload images Wordpress also makes an entry in the database, records the caption, the sizes that are available and so on.
There is a plugin Add From Server that allows you to select files from the "uploads" folder and import them in the Media Library.
When you upload a file using the default WordPress media uploader, it saves the file information inside the database. So, when you see them in Media, it means they exist and are registered in the database.
When you use other method to upload the image, like FTP, the database isn't automatically populated and, therefore, WordPress won't recognize their existence.
Media from Ftp and Add from server
Also works. But if the images are more than 25k-1lakh then these plugins wont help you. If anybody knows update here thanks.
本文标签: media libraryuploading files to the uploads folder via ftp
版权声明:本文标题:media library - uploading files to the uploads folder via ftp 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742007731a2412299.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论