|Version 14 (modified by 9 years ago) (diff),|
Provides components and versions related screenshots storage and viewing system for Trac. With SCREENSHOTS_ADMIN permission you can append or delete screenshots to appropriate 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 gallery view.
Download the zipped source from [download:screenshotsplugin here].
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
For running this plugin you have to have ImageMagick tools and Python Image Language (PIL) installed on your system.
There are macro [screenshot:<screenshot_id>] for screenshots referencing. Expample of usage is here:
[screenshot:1] [screenshot:1 screenshot]
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 :-).
If you properly install ScreenshotsPlugin you could see something like this:
- 16191 by rjollos on 2017-01-21 04:51:42
1.2dev: Adapt to Trac 1.2 API
The changes need additional testing. Please be sure to
backup your environment before upgrading, and preferably
test in a sandbox first. Report any issues to #13007.
- 13303 by hasienda on 2013-06-23 15:10:27
ScreenshotsPlugin: Use own actions instead of 'WIKI_*' for tagging action permission checks, closes #10940.
Fixing the issue for the two most current branches simultaneously.
- 12139 by rjollos on 2012-10-10 03:54:13
Fixed incorrect source code encoding (http://www.python.org/dev/peps/pep-0263/).
- 8987 by Blackhex on 2010-09-20 14:56:24
- Fixing #7701 and other PosgreSQL related problems.
- Trac 0.11.5 dependency for 0.11 branch added.
- 8717 by Blackhex on 2010-09-09 09:44:05
- Translated to Czech language.