Insert Picture Plugin

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 Unsupported Plugins
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

  1. Install via the plugin repository, or manually.
  2. 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
Show description 1.0.2-SNAPSHOT (#3) 29 Mar 2008 Stable Freeware / Open Source (BSD) Donate

Release Notes

The initial release

Contributors

Screenshots

Other Adaptavist Entries

Attachment Download Plugin — Adds a servlet so you can download attachments from a page without needing to know the ID.
Custom News — An alternative to Confluence's blog posts macro to aid with customisation
Developer Report Plugin — Primarily as a proof of concept, this plugin shows what I've found you can do with FishEye plugins – hopefully this will help and encourage more developers to dive in and see what they can do.
Insert Picture Plugin — A in-place image management widget for Confluence to help with image attachment manipulation
JIRA Visitor Plugin — If you've ever found yourself commenting simultaneously as someone else with the same information, or been faced with the dreaded "workflow has already changed" message, or just thought "I wonder if anyone else is viewing this issue right now" - then this is for you.
Plugin Message Client — A library which when included as an extracted dependancy will allow java communication between the classloaders of the installed plugins
Ranking Macro — Yet another macro for voting/rating/ranking pages, this one is uniquely different to the others by providing a macro for ranking pages with a 'was this page useful' style approach, tracking only positive answers
Statistical Analysis Plugin — Confluence has lacked a cluster-ready, enterprise scaleable, remotely accessible statistically gathering and analysis plugin ... not any more!
Synonym Plugin — A search extractor for Confluence to inject synonyms for acronyms, words or phrases into the index to aid with searching
User Security Management Plugin — An enhancement for the Confluence user management system, to prompt better security practices - including email verification and admin vetting of signups

Labels

codegeist_2008_confluence codegeist_2008_confluence Delete
codegeist_2008_vendor_adaptavist codegeist_2008_vendor_adaptavist Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. 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 ?

    1. 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.

  2. 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;">
    Params Values Description
    margin 200px, 10% Margin all over the image
    margin-top 200px, 10% top margin
    margin-right 200px, 10% right margin
    margin-bottom 200px, 10% bottom margin
    margin-left 200px, 10% left margin

    HTML Code could look like this

    <div style="float: left; margin-top:10px">

    What do you think ?

    1. 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!

  3. May 13

    Boots Wang [atlassian] says:

    This looks rad. I'm excited to try it\!

    This looks rad. I'm excited to try it!

  4. 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

  5. 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