Screenshots Plugin
Description
Provides components and versions related screenshots storage and viewing system for Trac. With SCREENSHOTS_ADMIN permission you can append or delete screenshots to apropriate component and version defined with trac-admin command-line tool or via WebAdminPlugin. With SCREENSHOTS_VIEW premission main navigation bar button for ScreenshotsPlugin is displayed and provides link to screenshots galery view.
Installation
Install plugin's egg and set path and title variable in trac.ini configuration file. component and version config variables can set default component and version viewed when Screenshots main navigation menu button clicked. show_name config variable could be used to disable or enable display of screenshot name and author at the top. Default value is true.
[screenshots] title = Screenshots path = <path_to_screenshots> component = <component_name> version = <version_name> show_name = true/false
If you run Trac in environment which needs to enable plugins explicitly put in trac.ini these lines:
[components] tracscreenshots.init.screenshotsinit = enabled tracscreenshots.core.screenshotscore = enabled tracscreenshots.api.screenshotsapi = enabled tracscreenshots.wiki.screenshotswiki = enabled tracscreenshots.tags.screenshotstags = enabled
If you don't have TagsPlugin installed replace last line with
tracscreenshots.tags.screenshotstags = disabled
The next step is to upgrade your environment:
# trac-admin <path_to_environment> upgrade
Important
For running this plugin you have to have ImageMagick tools installed on your system.
Macros
There are macro [screenshot:<screenshot_id>] for screenshots referencing. Expample of usage is here:
[screenshot:1] [screenshot:1 screenshot]
Note
There is wrong display of plugin's content in Internet Explorer because of missing implementation of "display: table-cell" CSS style so please use standard browsers or tell me how to fix it .
Bugs/Feature Requests
Existing bugs and feature requests for ScreenshotsPlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out ScreenshotsPlugin from here using Subversion, or browse the source with Trac.
Screenshot
If you properly install ScreenshotsPlugin you could see something like this:
Feedback
Change Log
[1450] by Blackhex on 10/26/06 06:58:38
Bug #850 and other minor fixes.
[1235] by Blackhex on 09/03/06 23:18:55
Applied fixes from 0.10 to 0.9 branch, small grammar fix.
[1225] by Blackhex on 09/01/06 22:57:59
Changes with 0.10 supported features.
[1224] by Blackhex on 09/01/06 10:46:52
[1223] by Blackhex on 09/01/06 10:45:16
Author/Contributors
Author: Blackhex
Contributors:
Attachments
- tracscreenshots-0.1.jpg (95.8 kB) -
Screenshot of early version 0.1
, added by Blackhex on 08/01/06 20:44:55.