Hi, I am installing Drupal on example.com/test (ie in /home/user/public_html/test) and my files are uploaded to /home/user/public_html/test/sites/default/files/ (a common multisite install procedure, I don't actually do multi-site yet but just am being careful and preparing for it)

I upload an image using IMCE, I check with FTP, the image is uploaded well and good. But the Image URL given by TinyMce/IMCE is wrong, it lists /test//home/user/public_html/test/sites/default/files.

Two problems with this:
1) The URL is definitely wrong with the double slash and the '/test' component in front, both of which should not be there
2) Also, shouldn't the Image URL be relative ie simply "sites/default/files" so that in the future when I move Drupal to my root directory I do not have to edit all the image links as well?

This is kind of weird since other people have not reported anything wrong like mine! Any ideas?

Comments

ufku’s picture

make sure your File system path( in admin/settings) is configured as sites/default/files (it should be relative to drupal root)

mj2308’s picture

Status: Active » Fixed

urp.. thanks! haha yeah that solved the issue thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)