First of all, I’d like to say that point of question is to understand this problem. I don’t want to use any plugins.
- I’ve changed UPLOADS directory to wp-config/uploads/images (defined in wp-config)
- Moved all images (thumbnails, resizes included as well) to the correct direcotry
- Changed in database: wp-postmeta & wp-posts url
- Images path is correct, I can display them, but there is no thumbnails in admin panel media library.
What else I need to edit to make thumbnails display in media library?
Is it something in wp_postmeta -> _wp_attachment_metadata?
Read more here: WordPress thumbnail regeneration – DB