Community

Images not showing up after moving the to localhost

Hello,
I move a Site from the remote Host to my localhost to update from 6.26 to 6.27 to see if everything is working fine, but the pictures are not showing up.

On my localhost I have the following folder structure:
C:\wamp\www\sitename\sites\default\files\images\pic1.png
or
C:\wamp\www\sitename\sites\default\files\images\\folder1\pic1.png

the pictures are configured in drupal for:

/sites/default/files/images/pic1.png
or
/sites/default/files/images/folder1\pic1.png

when I use firebug to change these folder structure to

/sitename/sites/default/files/images/pic1.png
or
/sitename//sites/default/files/images/folder1/pic1.png

the pictures are shown, but as soon as I reload the page the pictures are gone again, because firebug is not saving.

So where can I change the path of the pictures?

thank you

Comments

I am not sure why you are

I am not sure why you are expecting "Firebug to be saving". This is not how firebug works.

You can either set a virtual host in WAMP http://cesaric.com/?p=255

or use the pathoglogic module http://drupal.org/project/pathologic and follow the documentation

    Go to Administration » Configuration » Content authoring » Text formats (admin/config/content/formats). A list will appear of the various input formats your site uses. Find one in the list which you are using Pathologic with, and click the “configure” link for that format. (Note that if you are using Pathologic with more than one input format, you will have to repeat this configuration process for each input format.)
    Select the desired output format of Pathologic-processed paths from the “Processed URL format” field. The explanatory text for the field should explain the consequences of each option.
    Enter the paths of other/previous Drupal installations which should be considered local in the “Also considered local” text field. Enter one path per line. For the above example, we’d want to enter http://example.com/drupal/.
    Click the “Save configuration” button when done.

I use to get this issue but

I use to get this issue but then i moved to using subdomains on staging and on dev environment I sent alias's in my vhosts file.

nobody click here