Changes between Version 24 and Version 25 of ScreenshotsPlugin
- Timestamp:
- Oct 2, 2008, 3:03:58 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ScreenshotsPlugin
v24 v25 1 [[TOC]] 2 1 3 = Screenshots Plugin = 2 4 3 5 == Description == 4 6 5 Provides screenshots upload and viewing subsystem for Trac. Uploaded screenshots can be described with short name, longer description and custom tags (if TracTags plugin is installed) and assigned to any number of components and versions registered in Trac. Screenshot uploads can be listed in timeline and screenshots can be referenced or embe nderin wiki pages. Plugin internally defines few interfaces for further extension.7 Provides screenshots upload and viewing subsystem for Trac. Uploaded screenshots can be described with short name, longer description and custom tags (if TracTags plugin is installed) and assigned to any number of components and versions registered in Trac. Screenshot uploads can be listed in timeline and screenshots can be referenced or embedded in wiki pages. Plugin internally defines few interfaces for further extension. 6 8 7 9 == Bugs/Feature Requests == … … 23 25 == Installation == 24 26 25 Install plugin 's egg and set variables in trac.ini configuration file according to your needs. Following list shows all of them with their default values:27 Install plugins egg and set variables in trac.ini configuration file according to your needs. Following list shows all of them with their default values: 26 28 27 29 {{{ … … 58 60 ||path|| location of directory where plugin should store uploaded and generated images || 59 61 60 {{{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 embe nded in HTML page.62 {{{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. 61 63 62 {{{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.64 {{{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. 63 65 64 66 If you run Trac in environment which needs to enable plugins explicitly put in trac.ini these lines: … … 106 108 There is a macro {{{[screenshot:<screenshot_id>]}}} for screenshots referencing. 107 109 108 For screenshot embe nding in wiki page use {{{[[Screenshot(<screenshot_id>, [<attribute>=<value>, ...])]]}}}. First mandatory argument is ID of the screenshot. Number or image attributes110 For screenshot embedding in wiki page use {{{[[Screenshot(<screenshot_id>, [<attribute>=<value>, ...])]]}}}. First mandatory argument is ID of the screenshot. Number or image attributes 109 111 can be specified next. This is a list of them: 110 112 … … 146 148 For creating image maps you might consider using tools like http://www.maschek.hu/imagemap/imgmap. 147 149 148 {{{[[ScreenshotsList()]]}}} macro displays list of all available screenshots on wiki page. Accepts one argument which is template for list items f romatting. Possible variables in this template are:150 {{{[[ScreenshotsList()]]}}} macro displays list of all available screenshots on wiki page. Accepts one argument which is template for list items formatting. Possible variables in this template are: 149 151 150 152 * {{{$id}}} - ID of image. … … 163 165 164 166 {{{ 165 [[ScreenshotsList($name - $description ($ widthx$height))]]167 [[ScreenshotsList($name - $description (${width}x${height}))]] 166 168 }}} 167 169 … … 172 174 == Feedback == 173 175 174 [[Poll(Are you using this plugin?; Yes, it's useful l.; No, it's useless.; No, I don't need it.)]]176 [[Poll(Are you using this plugin?; Yes, it's useful.; No, it's useless.; No, I don't need it.)]] 175 177 176 178 == Change Log ==