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.

  1. I’ve changed UPLOADS directory to wp-config/uploads/images (defined in wp-config)
  2. Moved all images (thumbnails, resizes included as well) to the correct direcotry
  3. Changed in database: wp-postmeta & wp-posts url
  4. Images path is correct, I can display them, but there is no thumbnails in admin panel media library.

Question is:
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


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: