Changes between Version 15 and Version 16 of ScreenshotsPlugin
- Timestamp:
- Feb 26, 2008, 4:28:55 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ScreenshotsPlugin
v15 v16 31 31 {{{ 32 32 [screenshots] 33 title = Screenshots 33 mainnav_title = Screenshots 34 metanav_title = 34 35 path = /var/lib/trac/screenshots 35 36 ext = jpg png 36 37 formats = raw html jpg png 37 38 default_format = html 38 default_components = 39 default_versions = 39 default_components = none 40 default_versions = none 40 41 }}} 41 42 42 Value of {{{ title}}} variable sets caption of item in Trac's main navigation menu,{{{path}}} is location of directory where plugin should store uploaded and generated images and {{{ext}}} is list of allowed file extension which can be uploaded. Using {{{formats}}} option you can set in wich formats can be images downloaded and {{{default_format}}} is format which will be returned if no format is specified in request. It must be one of formats supported by your PIL library installation. There are two meta formats: {{{raw}}} denotes original format of uploaded image and {{{html}}} is image embended in HTML page. {{{default_components}}} and {{{default_versions}}} options sets default values for component and version filter. Set these variables according your Trac setup, otherwise, you would't see any screenshots with default filter.43 Value of {{{mainnav_title}}} variable sets caption of item in Trac's main navigation menu and {{{metanav_title}}} sets caption of meta navigation menu item. Appropriate item will be hidden if its title is empty. {{{path}}} is location of directory where plugin should store uploaded and generated images and {{{ext}}} is list of allowed file extension which can be uploaded. Using {{{formats}}} option you can set in wich formats can be images downloaded and {{{default_format}}} is format which will be returned if no format is specified in request. It must be one of formats supported by your PIL library installation. There are two meta formats: {{{raw}}} denotes original format of uploaded image and {{{html}}} is image embended in HTML page. {{{default_components}}} and {{{default_versions}}} options sets default values for component and version filter. Set these variables according your Trac setup, otherwise, you would't see any screenshots with default filter. 43 44 44 45 If you run Trac in environment which needs to enable plugins explicitly put in trac.ini these lines: