Forums / Setup & design / How to put images in a spesific folder?

How to put images in a spesific folder?

Author Message

Robin Sørlie

Thursday 19 June 2003 3:47:18 am

Hi, all

When editing an article, and adding a picture/file etc... in related objects, the picture goes in the root folder. It makes it a bit messy and hard to find the folders and stuff (have to browse several pages). Is it possible to for instance make a folder "Images" in root and assign all new images to go into that folder?

Bård Farstad

Thursday 19 June 2003 3:51:34 am

You can configure this in content.ini:

[RelationAssignmentSettings]
# Default assignment for new related objects, possible values are
# - A Node ID - Place all new objects under this node
# - root - The root of the tree
# - users - The root of the user tree
# - none - Do not place anywhere, the user must then fix the assignment before publishing
# Multiple assignments are separated with commas.
DefaultAssignment=2
# Overrides for specific classes.
#
# Each entry is a list of comma separated values, the first is the match
# and the second is the assignment (see above for values)
#
# Classes are either specified with identifier, ID or group_ID
# The items are searched in order so the first to match will be used,
# this means that class IDs should come before class group IDs.
ClassSpecificAssignment[]
ClassSpecificAssignment[]=user,user_group;users
#ClassSpecificAssignment[]=image;33,37;37

--bård

Documentation: http://ez.no/doc

Robin Sørlie

Thursday 19 June 2003 5:06:17 am

Works like a charm, thx.