In jpeg.html (all media templates) (you also can try add it in details.html template, but it might not work properly) insert:<input type="text" name="directurl" value="http://example.com/{media_src}" class="directurl" onFocus="this.select();" readonly> <input type="button" name="clipboard" value="add to clipboard" onClick="window.clipboardData.setData('Text', window.directurl.value);"><br />
<input type="text" name="directurlbbc" value="[img]http://example.com/{media_src}[/img]" class="directurl" onFocus="this.select();" readonly> <input type="button" name="clipboard" value="add to clipboard" onClick="window.clipboardData.setData('Text', window.directurlbbc.value);">
The clipboard only works in IE browsers.