The ImageRowPlugin is basically the [Image] plugin, but we wanted to put in a horizontal row of images, and they weren't rendering well with [Image], so this plugin solves it.

Creates a horizontal row of images from the given src(s) with the given caption(s), allowing the same features as [Image], but also with the given cell_width controlling the width of the caption and image combined.  The image and the caption will horizontally center within this cell_width space.

by KeithDavidson, 24 Aug 2004, but heavily borrowed from [Image] Plugin

!!Parameters

;__src__ = '' 'Image source1[[, Image source2, ... ]' '': These can either be full URLs (http://...) or [WikiAttachment] names.  Required (at least one).
;__align__ = '' 'left|right|center' '': The row alignment.
;__height__ = '' 'integer' '': Force the height of the image(s).
;__width__ = '' 'integer' '': Force the width of the image(s).
;__cell_width__ = '' 'integer' '': Force the width of the invisible box containing the image and it's caption.  Although the browser may squash this to the image width anyway if there is not enough room.  This basically allows control of the caption width.  The image and the caption will horizontally center within this space.
;__alt__ = '' 'alt text' '': The alt text of an image.  (Oops, I forgot to make this a list too, sorry!  You can still use this, but the alt will be the same for each image.) This is very useful when doing pages that can be navigated with text-only browsers.
;__caption__ = '' 'caption text1[[, caption text2, ... ]' '': The text(s) that should be shown as a caption under (each of) the image(s).
;__link__ = '' 'hyperlink' '': A hyperlink (http://...).  In the future, you can also use [WikiPages].  (Oops, I forgot to make this a list too, sorry!)
;__border__ = '' 'integer' '': Size of the image border(s).
;__style__ = '' 'style info' '': Any style markup you would like to apply to the table surrounding the image(s).

!!Examples
{{{
[{ImageRow src='SandBox/test1.png,SandBox/test2.png,SandBox/test3.png' caption='Testing Image1,Testing Image2,Testing Image3' style='font-size: 120%; color: green;'}]
}}}


Shows a row of attachments {{SandBox/test1.png, etc}} with the captions __Testing Image1__, etc underneath it.  The text is 120% in height and will be rendered in green color.

{{{
[{ImageRow src='http://opi.yahoo.com/online?u=YahooUser1234&m=g&t=2' 

link='http://edit.yahoo.com/config/send_webmesg?.target=YahooUser1234&.src=pg'}]
}}}
Shows the Yahoo online / offline graphic and creates a link to Yahoo send message 

----
!Installation

To install ImageRowPlugin using the [ImageRow.jar]:

# Extract the [ImageRow.jar] into {{WEB-INF/lib}}.
# Add this line to your WEB-INF/jspwiki.properties file:\\
jspwiki.plugin.searchPath = au.com.nmcgroup.jspwiki.plugin
# Restart JSPWiki.

or

#Build it directly from the [ImageRow.java]
----
Hi,man, I have two wiki running on the same which are JSPWiki and avon. I try to let avon show an image by ImageRow in this way:
[[{au.com.nmcgroup.jspwiki.plugin.ImageRow\\
src='http://162.105.72.21:8080/JSPWiki/images/tomcat.png' caption='Testing Image1' \\
style='font-size: 120%; color: green;'}]

But I can't get the image showed and I found the unshowed image URL is\\
http://162.105.72.21:8080/avon/attach?page=http://162.105.72.21:8080/JSPWiki/images/tomcat.png

It seems images must be attatched first?  -- [Liu Xiao Gang]
----
Back to ContributedPlugins

----