This is still being tested
Uses PluginImg as base for PluginThumb
YAML
objects:
-
type: plugin_alias
data:
name: xylophone
implementation: img
description:
name: Thumbnail
documentation: PluginThumb
description: Displays a thumbnail of an image that enlarges upon mouseover or links to a target
prefs:
params:
file:
required: false
name: File ID
description: File ID from the file gallery.
filter: digits
id:
required: false
name: Image ID
description: Image ID from the image gallery.
filter: digits
image:
required: false
name: Image URL
description: URL to the image.
filter: url
max:
required: false
name: Maximum Size
description: Maximum width or height for the image.
filter: int
float:
required: false
name: Alignment
description: Set alignment as left, right or none.
filter: alpha
options:
none:
text: None
left:
text: Left
right:
text: Right
url:
required: false
name: Link Target
description: Link target of the image.
filter: url
body:
default: ''
params:
fileId:
pattern: %file%
params:
file:
token: file
id:
pattern: %id%
params:
id:
token: id
src:
pattern: %image%
params:
image:
token: image
max:
pattern: %max%
params:
max:
token: max
imalign:
pattern: %float%
params:
float:
token: float
link:
pattern: %url%
params:
url:
token: url
thumb: mouseover
Uses PluginImg as base for PluginImage
YAML
objects:
-
type: plugin_alias
data:
name: tuba
implementation: img
description:
name: Image
documentation: PluginImage
description: Display images
params:
fileId:
required: false
name: File ID
description: Numeric ID of an image in a File Gallery (or comma-separated list). "fileId", "id" or "src" required.
id:
required: false
name: Image ID
description: Numeric ID of an image in an Image Gallery (or comma-separated list). "fileId", "id" or "src" required.
src:
required: false
name: Image source
description: Full URL to the image to display. "fileId", "id" or "src" required.
filter: url
scalesize:
required: false
name: Maximum size
description: Maximum width or height for the image in pixels.
height:
required: false
name: Image height
description: Height in pixels.
filter: int
width:
required: false
name: Image width
description: Width in pixels.
filter: int
link:
required: false
name: Link
description: For making the image a hyperlink. Enter a url to the page the image should link to.
filter: url
rel:
required: false
name: Link relation
description: "rel" attribute to add to the link.
title:
required: false
name: Link title
description: Link title that appears upon mouseover.
filter: alpha
alt:
required: false
name: Alternate text
description: Alternate text that displays image doesn't load.
filter: alpha
align:
required: false
name: Alternate text
description: Alternate text that displays image doesn't load.
filter: alpha
float:
required: false
name: Alignment
description: Set alignment as left, right or none.
filter: alpha
options:
none:
text: None
left:
text: Left
right:
text: Right
url:
required: false
name: Link Target
description: Link target of the image.
filter: url
body:
default: ''
params:
fileId:
pattern: %file%
params:
file:
token: file
id:
pattern: %id%
params:
id:
token: id
src:
pattern: %image%
params:
image:
token: image
max:
pattern: %max%
params:
max:
token: max
imalign:
pattern: %float%
params:
float:
token: float
link:
pattern: %url%
params:
url:
token: url
thumb: mouseover