I just transferred a WordPress installation from the domain to my localhost. I did all the usual steps: copy files, export DB and replace
wp-config.php and refresh permalinks. All pages and custom rewrite rules work, but some images are giving a 404.
When I check those images on the actual domain it all works fine, but something doesn't look right; if I check the url of the image it points to this path:
But this file doesn't exist! I looked in the uploads folder through FTP and the file isn't there, only
IMG_0425-185x185-150x150.jpg exists. Note that
185x185 is part of the original filename but
150x150 is added by WP.
In localhost the image doesn't show up (404), which makes sense.
Why is the image showing up on the domain when it doesn't even exist? Is WordPress resolving the image to the generated thumbnail somehow? Why isn't it working on the localhost if this is the case?
This is what makes no sense. How is this possible? Maybe the cache has something to do?
As you can see no trace of
IMG_0425-185x185.jpg in the folder (??) but