I'm on my first Multisite install after using Drupal for several years. I have set up my sites but I'm having trouble with one thing and I've scoured the discussions and tried several things I thought were the solution but no luck. I'm having trouble linking to image files, When I put a file in
/sites/example.com/files/artwerk/image.jpg
and link to it with example.com/artwerk/image.jpg
my site can't read it but if I put the same file in the root folder
/artwerk/image.jpg
and link to it the same way, with example.com/artwerk/image.jpg it's read fine. I thought the idea was to put files for each of the Multisites in the separate folders so the work is better organized but it's not working for me.
Any help would be appreciated, thanks.
Comments
Link
The image link should be more like this:
http://example.com/sites/example.com/files/artwerk/image.jpg
Thanks
I thought I had tried that but I just did and it worked. I wrongly assumed that I could still use http://example.com/artwerk/image.jpg like example.com was an add-on domain.
you would want to take a look
you would want to take a look at http://drupal.org/project/file_aliases
Remember: I compute you!
Thanks
I'll check the module out, my use issue is with the design of the site more than the part run by Drupal.
Actually, the solution to
Actually, the solution to this problem is to go to http://www.example.com/admin/settings/file-system and set two things: Turn on Public access, and set the file system path to sites/example.com/files. Then go to http://www.example.com/admin/settings/image and set the images path to artwerk.
Then... After that... :-) Turn on Image Import module, and use that to import the images into drupal.