Show Changes Show Changes
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

4/14/2008 3:26:53 PM
-66.78.127.196
4/14/2008 1:57:08 PM
125.243.245.69
11/29/2006 6:29:43 AM
-141.228.106.135
11/29/2006 6:28:54 AM
-141.228.106.135
11/19/2004 11:24:38 AM
-151.193.213.23
List all versions List all versions

RSS feed for the FlexWiki namespace

Image Behavior
.
Summary

Usage

 @@Image("URL", "alt text", "image width", "image height")@@
 @@Image("URL", "alt text")@@


Question
Question
Bug

Testing above theory:

bleh doesn't work bleh works

Examples

With width and height:

 @@Image("http://www.flexwiki.com/home.gif", "Home", "16", "16")@@

Example when update is released here.

With only image URL and alt text:

 @@Image("http://www.flexwiki.com/home.gif", "Home")@@

Example when update is released here.

All parameters must be enclosed in double-quoted strings. If you want to include a quotation mark in a string, escape it with a backslash:

 @@Image("http://www.flexwiki.com/home.gif", "The \"Home\" graphic")@@

This will be rendered as:

 <img src="http://www.flexwiki.com/home.gif" alt="The &quot;Home" graphic">

There must be either two or four parameters passed to ImageBehavior -- you must include a URL and the alt text. While height and width are optional, if you specify height you must specify width.

General rules for the arguments string

General rules for the string between the parentheses in an @@Behavior()@@ call. This should be moved to WikiBehavior, but I'll do that when I've finished up the code.

Information for developers

This change is now checked in to the GotDotNet Workspace (2003-12-29). All changes were in EngineSource.

Changed files:

New files:

There are several new tests.

In FormattingTests:

A new section -- ParseBehaviorParametersTests

Not logged in. Log in

Welcome to the home of FlexWiki, a collaboration tool, based on WikiWiki, implemented using Microsoft .NET technologies

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics