Author > Creating questions and responses > Using the Gallery > Adding custom Gallery items > Adding custom Gallery items
 
Adding custom Gallery items
You can add new Gallery items by creating a Gallery used.dcprop file and folder. For example:
NewItem.mdd
NewItem.dcprop
NewItem.gallery_Files
The *.dcprop file information is as follows:
<?xml version="1.0" encoding="utf-8"?>
<LibraryItem>
<Title Language="en">NewItem</Title>--------------> Item title.
<Thumbnail> NewItem.png</Thumbnail>---------------> Item thumbnail that
should be placed in the
NewItem.gallery_Files
folder. The default
thumbnail is used when
this section is empty.
<Description Language="en">Ranking</Description>--> Item description.
<Notes Language="en">Ranking</Notes>--------------> Item notes.
<Requirements Language="en">None</Requirements>---> Item requirement.
<Screenshots>
<Screenshot>------------------------------------> When the library
includes screenshots, a
<Screenshot> section
should be added.
<Url>NewItemSnapshot.png</Url>----------------> Relative screenshot
image path. The image
should be placed in the
NewItem.gallery_Files
folder.
<Caption Language="en">NewItem</Caption>------> Name of the screenshot.
</Screenshot>
</Screenshots>
<Tags>
<Tag>GridNumeric</Tag>--------------------------> Tag of the item. This
will be used in the
filter option feature,
and should be consistent
with Tag ID.
<Tag>Ranking</Tag>
<Tag>en-us</Tag>
</Tags>
<Author>
UNICOM Systems, Inc.
</Author>
<Copyright>Copyright @</Copyright>
</LibraryItem>
Notes
When adding a new tag in the dcprop file, it is better to add the tag to the Section.xml file that is under the library category's root folder. For example:
Library
-----Question
     -----Section.xml
When a tag is not defined, or a tag is not in the Section.xml file, the gallery uses Untagged as the default tag value.
See also
Adding custom Gallery items