| Name | Insert Picture Plugin |
|---|---|
| Vendor | Adaptavist.com Ltd (Website) |
| Authors | Dan Hardiker |
| Homepage | http://confluence.atlassian.com/display/CODEGEIST/Insert+Picture+Plugin |
| Issue Management | n/a |
| Categories | Content Macros |
| Version | 1.0.2-SNAPSHOT |
| Availability | Confluence v2.7.3 to v2.10-m1 |
| State | Stable |
| Support |
|
| License | Freeware / Open Source (BSD) |
| Price | Donate |
| Release Docs | http://confluence.atlassian.com/display/CODEGEIST/Insert+Picture+Plugin |
| Java API Docs | n/a |
| Download Source | http://svn.atlassian.com/svn/public/contrib/confluence/insert-picture-plugin/tags/1.0.2/ |
| Download JAR | insert-picture-plugin-1.0.2-SNAPSHOT.jar |
Description/Features
A in-place image management widget for Confluence to help with image attachment manipulation.
The use-case for creating this plugin was so that a page author create updateable areas of the page, one such area being an image which could be clicked on to change the image itself and the caption.
The primary reason for releasing this is that others with this requirement may have a use for it, and so that it can be enhanced as needed without rebuilding the wheel.
Usage
- Install via the plugin repository, or manually.
- Drop the macro onto a page (e.g. {insert-picture:filename=test.png})
I tried to make it as difficult as I could, honest.
Macro Parameters
| Param | Value(s) | Default | Description |
|---|---|---|---|
| filename | filename | required | The filename of the image to look for |
| defaultImage | url | use admin configured | Path to the image to use if the filename contents don't exist |
| position | floatLeft, floatRight, center | floatLeft | Positioning of the macro output |
| width | 200px, 10% | 200px | Width sizing of the thumbnail |
| height | 200px, 10% | none | Height sizing of the thumbnail |
| sourcePage | SPACEKEY:Page Title | Current Page | The page to take the images from, defaults to the current page. |
Version History
| Version | Date | State | License | Price |
|
|
29 Mar 2008 | Stable | Freeware / Open Source (BSD) | Donate |
Screenshots
Other Adaptavist Entries
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|


Comments (7)
May 09
MartinMitry says:
I love this macro !!! No way to have it for Confluence 2.5.8 ?I love this macro !!!
No way to have it for Confluence 2.5.8 ?
May 09
Dan Hardiker says:
By all means try it, however we only support v2.7 and above due to ongoing API c...By all means try it, however we only support v2.7 and above due to ongoing API changes making it impossible to maintain lots of releases.
May 13
Michael Mollath says:
Very cool! But one thing is missing a paramter which sets the margin of the ima...Very cool!
But one thing is missing - a paramter which sets the margin of the image. Right now the image sticks directly to the text.
HTML Code right now looks like this
<div style="float: left;">HTML Code could look like this
<div style="float: left; margin-top:10px">What do you think ?
May 16
Dan Hardiker says:
Can you do that with the macro from Content Formatting? If it's not targettable...Can you do that with the macro from Content Formatting? If it's not targettable I can add in some classes to make it more accessible. Otherwise we could go through the entire styling options as parameters!
May 13
Boots Wang [atlassian] says:
This looks rad. I'm excited to try it\!This looks rad. I'm excited to try it!
Jun 20
Christian Nesemann says:
Hi, great plugin. Works great here on Conf 2.7.2. But i think it would be better...Hi,
great plugin. Works great here on Conf 2.7.2.
But i think it would be better to allow image-changing only in edit mode, cause users are accustomed of editing sth. only in edit-mode.
Another improvement of this plugin would be to allow users to choose images out of the attachments.
After that i noticed a little error.
If you have a scaffolding page, and an image on it, you can't change the image in edit mode. There is a big error message then after saving.
Christian
Jun 23
Christian Nesemann says:
Will there be any issue management for this plugin, as it seems that this plugin...Will there be any issue management for this plugin, as it seems that this plugin really has some problems with scaffolding!
So i can't get to "edit layout" after using this macro on a page there i also use scaffolding macros.
Christian