It looks like there was a recent patch for 5.x that I hope can easily be made to 4.7.x.
I have drupal installed in a subdirectory www.mysite.com/drupal. I have multiple sites in the drupal/sites directory structures, such as sites/sub1.multisite.com.
When I access content from the main site, the images that were uploaded with IMCE are not displayed as the img src is drupal/files/xxx.jpg. But since the subdomain currently resolves to mysite.com/drupal, the net effect is that my subdomain site is looking for the images in drupal/drupal/files/xxx.jpg.
I have tried to use the Private File method rather than public, but with no luck either.
Thanks for your help on this one. And thanks for a great module!
Comments
Comment #1
ufku commentedShouldnt the img src be like /drupal/....?
Comment #2
bottdev commentedYes, you are right. Both src paths do start with a forward slash. Is there any way to access the images from the subdomain site without it looking for /drupal/drupal/files/...?
Thanks for your help.
Comment #3
ufku commentedyou may create a symlink for drupal/drupal
running a php script(
symlink('./', 'drupal');) under drupal directory will make "drupal/drupal" point to "drupal".Comment #4
bottdev commentedWorks perfectly! Thank you so much for your help and for a wonderful module.