Ive migrated my site. Im still developing locally but on a new computer. My images are no longer showing up on the page or when I edit the page.

In the editor the path is this format:
/old-site-folder-name-10/sites/default/files/image.jpg

However on the page its this:
http://localhost:8888/new-site-folder-name/10/sites/default/files/image.jpg

With pathologic ive set 'All base paths for this site' as:
/old-site-folder-name-10

Why isnt this working? I know that migrating the site can cause issues with the file path changing, but i thought this could be fixed with Pathologic. Thanks

Comments

jdln’s picture

If I set pathologics 'All base paths for this site' to:
/old-site-folder-name-10/

Then when viewing the node it works fine, but the editor has the wrong path and so no thumbnail.

kerios83’s picture

Issue summary: View changes

I have similar problem, after moving my site to localhost and change prefix with WWW. IMCE images are working fine but images inserted via INSERT modules are not displayed. Any ideas how to fix this ?

I did create a virtual xampp serwer so link to the page looks exactly the same but its now with www prefix so I can easily test changes on localhost (www.mypage.com) and improve my live page (mypage.com).

Snater’s picture

Status: Active » Closed (duplicate)