Changes between Version 26 and Version 27 of ScreenshotsPlugin
- Timestamp:
- Oct 2, 2008, 3:20:42 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ScreenshotsPlugin
v26 v27 27 27 Install plugins egg and set variables in the {{{[screenshots]}}} section of your {{{trac.ini}}} configuration file according to your needs. Following list shows all of them with a description and their default values: 28 28 29 ||'''Option'''||'''Description'''||'' Default Value''||29 ||'''Option'''||'''Description'''||'''Default Value'''|| 30 30 ||default_components|| default values for component filter || none || 31 31 ||default_description|| description attached to the screenshot if not explicitly specified in request || $description || … … 42 42 ||path|| location of directory where plugin should store uploaded and generated images || /var/lib/trac/screenshots || 43 43 44 {{{default_format}}} and {{{formats}}} must be supported by your PIL library installation. There are two meta formats: {{{raw}}} denotes original format of uploaded image and {{{html}}} is image embedded in HTML page. 44 {{{default_format}}} and {{{formats}}} must be supported by your PIL library installation. There are two meta formats: {{{raw}}} denotes original format of uploaded image and {{{html}}} is image embedded in HTML page. {{{ext}}} can also include the {{{zip}}} extension, which is not included by default for security reasons. If a {{{zip}}} file containing multiple images is uploaded, all of the images will be added with the same metadata entered for the {{{zip}}} file - and the {{{zip}}} file itself will be abandoned. 45 45 46 46 {{{default_components}}} and {{{default_versions}}} options sets default values for component and version filter. Set these variables according your Trac setup, otherwise, you wouldn't see any screenshots with default filter.