My file directories have not changed, but every time I move from local host to production, or just change the filename of a test site online, I loose the images.
For example if I use the backup of prodcution server in local I am getting the path name like below:
http://localhost/sites/all/sites/default/files/images/image_name.jpg
here the project name is missing. thats why I am not getting the images.
I have changed the base_url in local as
http://localhost/project-name
But even that doesn't helps. (Cleared the cache after changing)
Merely this is a duplicate of this question
But I didn't get what I need on that question. Thats why I reposted again.
Any help will be thankful and grateful...