Good day,
I am new to Drupal, I was able to successfully create my site in my local machine, I am using the ckeditor and ckfinder for my editor and image uploader. I successully created my pages with image intacted.
The problem now is that I tried transfer my site to a temporary hosting I use. This is where I test my sites to see some errors.
I understand that my image path should be like this:
<img alt="" src="/sites/default/files/images/channels/abscbn.png" style="float: left; width: 120px; height: 120px;" /></p>
However in my local machine and with the uploaded images of ckfinder the exact path is this:
<img alt="" src="/nbc/sites/default/files/images/channels/abscbn.png" style="float: left; width: 120px; height: 120px;" /></p>
At my live demo site the path remains <img alt="" src="/nbc/sites/default/files/images/channels/abscbn.png" style="float: left; width: 120px; height: 120px;" /></p>
I tried to get rid of the /nbc but my images won't just show up.
I also tried to change my ckeditor settings for uploading images but I have luck.
Any appreciate any help for I will present this site to my client tomorrow.
TIA
Comments
This is a real minefield - if
This is a real minefield - if you move your site the images won't just work.
There is a book page here with instructions on how to move a site:
http://drupal.org/node/120627
Whenever I move a site I have always done the process of saving and copying the content, exported the views etc. and then imported and reuploaded it afterwards. I know it's too late for this one, but it's a lot easier to develop a site online than on your local machine and eliminates this problem.
it's a lot easier to develop
it's a lot easier to develop a site online than on your local machine and eliminates this problem. - True sir, this is a big lesson for me, the next time I am building the site, probably I will do it immediately in a live site, the problem right now is that I have to reinstall all the modules I used. The content is easy but the graphics that I made it will be hell to re encode them again,
Anyway, thanks for the link...:)
Also, take note that it says
Also, take note that it says the official method is to save your site as a tar file and then unpack it in the right place on the server - might be an idea to try that first.