Forums / Setup & design / Default folder for related images

Default folder for related images

Author Message

Kjell Knudsen

Wednesday 17 December 2003 7:58:20 am

Hi,

Talking to Jo Henrik last week it sounded like this was an easy task. But I can find anything either when I search the site, nor in the image.ini and site.ini files.

Would like to set so that the image files I upload as related objects are not automatically stored in the root content folder. Rather the root media folder ... or maybe later even some other folder.

-kjell

Kjell Knudsen
http://www.icbl.org

Gunnstein Lye

Wednesday 17 December 2003 9:12:44 am

See DefaultAssignment in content.ini

Kjell Knudsen

Thursday 18 December 2003 5:41:23 am

Thanks.

I was able to put in

ClassSpecificAssignment[]=image;43

And it places it in the media root folder. But when I try to fill in the ID of a node under there again it always fails and the folder needs to be given manually by the user. Seems like I'm not able to find the correct ID for the folder. How does one do that in the media folder? Since it's all with the easy URLs?

Also, when the location is not set all the time the user has to say that it should be the main category in order to publish.
That should be by default. If only one placement is given it should default to being the main one.

thanks

-kjell

Kjell Knudsen
http://www.icbl.org

Kjell Knudsen

Thursday 18 December 2003 5:52:57 am

ok - found the correct ID for the subfolder by viewing the media folder in normal view. But that's a littlebit troublesome isn't it? Think it would be better to have the IDs displayed by default in the Admin template.

-kjell

Kjell Knudsen
http://www.icbl.org

hannes petursson

Thursday 16 September 2004 4:24:33 pm

how did you view the media folder in normal view. I'm having the same problem I cant see the node id of the images folder in media.