[[PageOutline(2-5,Contents,pullout)]] = Screenshot Paste plugin for Trac = == Description == A Trac plugin to allow pasting screenshots captured in the clipboard directly as attachements to tickets, Wiki pages, etc., without the need to first saving as an image and then uploading it. [[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. [[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. Then, from a ticket, add an attachment as usual. [[BR]] [[BR]] [[Image(screenshotpaste02.png)]] [[BR]] '''Adding an attachment while creating a Ticket''' [[BR]] The first time, you will get a Java security warning. Click Run to run the applet. [[BR]] [[BR]] [[Image(screenshotpaste01.png)]] [[BR]] '''Java security question for the applet''' [[BR]] You will notice the extra section above the usual file attachment one. Click "Paste the Captured Screenshot" to provide the screenshot to the plugin applet and to see a preview. [[BR]] [[BR]] [[Image(screenshotpaste06.png)]] [[BR]] '''First Paste the image you have in memory''' [[BR]] Then click "Send the Screenshot" to actually save it as an attachment. [[BR]] [[BR]] [[Image(screenshotpaste09.png)]] [[BR]] '''Then click Upload to send the image to Trac''' [[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]] === 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. First, grab a screenshot or copy an image, for example, from the browser or an email. Then, from a wiki page, add an attachment as usual. [[BR]] [[BR]] [[Image(screenshotpaste08.png)]] [[BR]] '''Adding an attachment to a Wiki page''' [[BR]] Then follow the steps described above forTicket attachments. 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]] == 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 the zipped source from [download:screenshotpasteplugin here]. [[BR]] == Source == [[BR]] You can check out ScreenshotPastePlugin from [http://trac-hacks.org/svn/screenshotpasteplugin here] using Subversion, or [source:screenshotpasteplugin browse the source] with Trac. [[BR]] == Recent Changes == [[BR]] [[ChangeLog(screenshotpasteplugin, 3)]] [[BR]] == Author/Contributors == [[BR]] '''Author:''' [wiki:seccanj] [[BR]] '''Maintainer:''' [wiki:seccanj] [[BR]] '''Contributors:'''