I would like to change my File system settings for my site www.fastbug.net. It is currently set to Private with the File System Path outside the web root. I would like to change it to Public with a path within the web root. My reasons for this are that I having Drupal transfer the images seems to bypass browers caching mechanism (images are never cached), and I would like to be able to refer to my images directly on other forums and such like.

How easy is it to change these settings on a mature site with lots of pictures already uploaded? Can anyone run me through how to do it please?

- Chris

Comments

sprintstar’s picture

Anyone? What would happen if I changed the settings now? Would I need to transfer all my images to the new location?

catch’s picture

I just tried it on mine a couple of days ago and it seemed to work OK.

sprintstar’s picture

So you had a site with picures already on it. The pictures were stored in a directory below the web root, and the download method was set to private. You then changed it to public and set the File system path to somewhere above the web root? What happened to your existing images? Did they continue to be served up correctly, or did you have to move them to the new location?

catch’s picture

images were served up fine. File system was the same path both times though, not below web root. I'm pretty sure in the situation you described it wouldn't work for most cases.

sprintstar’s picture

Ah, yes so you just changed from private to public..

Anyone changed the path too?

ajwwong’s picture

... i've tried to do this to help set up a multi-site using a mature site as a base...

... and i couldn't get it to work either...

i ended up giving up and just doing a multi-install [rather than multi-site].

good luck!

Albert
Esalen Alumni Group

sprintstar’s picture

Well I took the plunge and tried changing it. I changed /home/username/drupalfiles to drupalfiles and changed private to public. This change created the directory /home/username/public_html/drupalfiles as being public the file directory is now relative to Drupal. I then moved all my images to this new directory, and it just worked! Woohoo! See for yourselves: www.fastbug.net