[[PageOutline(2-5,Contents,pullout)]] = Screenshot Paste plugin for Trac = == Description == A Trac plugin to allow attaching screenshots or other images to tickets, Wiki pages, etc. directly from the clipboard, without needing to save them locally first and then uploading them. [[BR]][[BR]] This plugin uses the Supa applet, the Screenshot UPload Applet, which is Copyright 2010 Christoph Linder and is developed under the LGPL 2.1. [[BR]][[BR]] == How-to == [[BR]] Once the plugin is installed, you can easily attach a screenshot or any image you have in the clipboard to a ticket or Wiki page. [[BR]][[BR]] === Attach a screenshot or an image to a Trac Ticket === [[BR]] First, grab a screenshot or copy an image, for example, from the browser or an email. [[BR]][[BR]] Then, from a ticket, add an attachment as usual. [[BR]] [[BR]] [[Image(screenshotpaste02.png)]] [[BR]] '''Adding an attachment while creating a Ticket''' [[BR]][[BR]] The first time, you will get a Java security warning. Click Run to run the applet. [[BR]] [[BR]] [[Image(screenshotpaste03.png)]] [[BR]] '''Java security question for the applet''' [[BR]][[BR]] You will notice the '''extra section''' above the usual file attachment one. [[BR]][[BR]] Click '''Paste the Captured Screenshot''' to provide the screenshot to the plugin applet and to see a preview. [[BR]] [[BR]] [[Image(screenshotpaste06.png)]] [[BR]] '''Paste the image you have in memory. Get a preview''' [[BR]][[BR]] Then click '''Send the Screenshot''' to actually send it to Trac and save it as an attachment. [[BR]] [[BR]] [[Image(screenshotpaste09.png)]] [[BR]] '''Click Upload to send the image to Trac''' [[BR]][[BR]] See the image file name generated and attached to the ticket. [[BR]] [[BR]] [[Image(screenshotpaste07.png)]] [[BR]] '''The image attached as a file, with unique name generated''' [[BR]][[BR]] [[BR]] [[BR]] === Attach a screenshot or an image to a Trac Wiki page === [[BR]] The steps are very similar to the ones used for attaching to a Ticket. [[BR]][[BR]] First, grab a screenshot or copy an image, for example, from the browser or an email. [[BR]][[BR]] Then, from a wiki page, add an attachment as usual. [[BR]] [[BR]] [[Image(screenshotpaste08.png)]] [[BR]] '''Adding an attachment to a Wiki page''' [[BR]][[BR]] Then follow the '''steps described above for Ticket''' attachments. [[BR]][[BR]] When done, you will see the image file name generated and attached to the Wiki page. [[BR]] [[BR]] [[Image(screenshotpaste10.png)]] [[BR]] '''The image attached as a file, with unique name generated''' [[BR]][[BR]] [[BR]] [[BR]] == Bugs/Feature Requests == [[BR]] Existing bugs and feature requests for ScreenshotPastePlugin are [report:9?COMPONENT=ScreenshotPastePlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=ScreenshotPastePlugin&owner=seccanj new ticket]. [[BR]] == Download == [[BR]] Download Egg files and the zipped source from [https://sourceforge.net/projects/screenshot4trac/files/ the project on SourceForge]. [[BR]] == Source == [[BR]] You can check out ScreenshotPastePlugin from [https://sourceforge.net/p/screenshot4trac/code/ the repository on SourceForge] using Git. [[BR]] == Recent Changes == [[BR]] [[ChangeLog(screenshotpasteplugin, 3)]] [[BR]] == Author/Contributors == [[BR]] '''Author:''' [wiki:seccanj] [[BR]] '''Maintainer:''' [wiki:seccanj] [[BR]] '''Contributors:'''