I need docs on how to set my own path to store the images.
All the help I get in the module is

"Image path:

Optional subdirectory within the "files" directory where images will be stored. Do not include trailing slash."

That's great and all but tells me bugger all. :P

What if I don't want it in the files directory?
Can I use custom fields in the url, like covers/[artist]/covername.jpg?

Thanks guys. btw I'm using all this on a fresh install of drupal and the cck and imagefield are the newest ones.

Comments

joetsuihk’s picture

for example, you may enter "image" (no trailing and leading slash) to the field
the image will upload to /files/image/, which the folder created automatically

adding a leading slash cannot guide your image to root.

I don't know if the token module work in this case if you want something like "one user to one folder",
by using "image/[uid]/" in the field,
but not really possible.

quicksketch’s picture

It absolutely has to be in the files directory, it's the standard location for storing all files for Drupal.

The 'wildcard' kind of directories can be used in the 2.x version of imagefield when you enable token.module.

hanskuiters’s picture

Since the subject of this post suits my problem I post it here:

I like to set a subdirectory under files for the images. When I submit the settings page it returns a blank screen. This happens wether the new subdirectory is existing or not.

dopry’s picture

Status: Active » Closed (fixed)

@capono, open a new issue do no coop another issue. We need more details to help you with you issue? If you would have created your own issue you would have seen a list of information to provide to help people help you!

hedac’s picture

what happens to images if after having images uploaded I decide to change the path setting for the field?
Would be existing images affected? Do I have to move previously uploaded images to the new path?