ImageZoom

Description

Shows an image thumbnail, which when clicked, opens the image full-size in a new window.

Download & Release Notes

Download

Release Version

Moin Version

Release Notes

ImageZoom.py

1.0

1.8.5

Usage

You need to have your image hosted somewhere - as an attachment to a wiki-page or just on some web-space somewhere (don't leach other peoples' images though, by linking to their server, it's not nice).

Display your image in your browser, and copy its url:

Insert the ImageZoom macro into your page and paste the image url in as show below. Remember to put quotes (" ") around the url as some urls break without them.

Example

## Image displayed with size constrained by site css
<<ImageZoom("url_to_image")>>

## Image displayed at 200 px width
<<ImageZoom("url_to_image",width="200")>>

## Image displayed at 100 px height
<<ImageZoom("url_to_image",height="100")>>

## Using a different label message
<<ImageZoom("url_to_image",label="Cliquez sur l'image pour l'agrandir.")>>

## All options in use
<<ImageZoom("url_to_image",height="100",width="200",label="Cliquez sur l'image pour l'agrandir.")>>

(c) February 2010 Andy D'Arcy Jewell

License

GPL 3.0

Note: it would be nice if you license your code under same license as moin, which is "GPL v2 or later".

Bugs

None known (as yet)

Discussion

MoinMoin: MacroMarket/ImageZoom (last edited 2010-03-15 05:09:09 by DNab415e98)