Images with style
cool effects, transformations, frames and more

This works in the Haddock Template.

Image styles allow you to add special effects, transformations, animation, frames, captions etc. to photographs and images. It is also possible to combine multiple styles with the . separator.

Markup:

%%<style1>.<style2> [<wiki-page>/<image attachment>]/%
%%<style1>.<style2> [{Image src='<image url>' }]/%
[{Image src='<image url>' class='<style1> <style2>'}]
Note: most images styles can also be used on background images.

Basic styles#

Note: hover your mouse of the image for a smooth transition to the original image.

original
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
light
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
dark
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
grayscale
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
invert
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
sepia
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
contrast-2
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
contrast-10
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
saturate-2
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
saturate-8
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
hue-rotate-1
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
hue-rotate-2
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
hue-rotate-3
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
brightness
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
blur
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg

Flip#

Flip the image vertically or horizontally (or both).
original
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
fliph
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
flipv
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg
fliphv
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/poppy-small.jpg

Blend#

Blend the image color with the background.

original
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/haddock.jpg

blend
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/haddock.jpg

blend2
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/haddock.jpg

Frames#

Frames (rounded, circle) can be used flat or raised. (with shadow)

Original
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/woman-face.jpg
rounded
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/woman-face.jpg
circle
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/woman-face.jpg
img-thumbnail
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/woman-face.jpg
raised
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/woman-face.jpg
rounded raised
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/woman-face.jpg
circle raised
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/woman-face.jpg
img-thumbnail raised
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/woman-face.jpg

Captions#

With the Image Plugin you can add a caption to an image. It can be styled as a text balloon (%%caption-arrow) or overlayed on top of the image (%%caption-overlay) . Note that the %%caption- style must be set around the Image.
%%caption-arrow
[{Image src='<image>' caption='<caption content>' }] 
/%
No caption
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/bear-big.jpg
Default caption
bear
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/bear-big.jpg
Caption-arrow
bear
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/bear-big.jpg
Caption-overlay
bear
Content unavailable! (broken link)https://jspwiki-wiki.apache.org/attach/Image%20Styles/bear-big.jpg

Normally, caption content can only consist of text. If you need more freedom to the type of content and the styles you want to put in a caption, use the %%caption style. Put the caption content right after the image. This is supported both for the Image Plugin as well as for inline attachment images.

%%caption
[{Image src='<image>' }] 
More __caption__ content
/%
%%caption
[<wiki-page>/<inline image attachment>] 
More __caption__ content
/%
No caption
Content unavailable! (broken link)https://static.pexels.com/photos/36436/dalmatians-dog-animal-head.jpg
Default caption
Dalmation
Content unavailable! (broken link)https://static.pexels.com/photos/36436/dalmatians-dog-animal-head.jpg
Caption-arrow
Dalmation
Content unavailable! (broken link)https://static.pexels.com/photos/36436/dalmatians-dog-animal-head.jpg
Caption-overlay
Dalmation
Content unavailable! (broken link)https://static.pexels.com/photos/36436/dalmatians-dog-animal-head.jpg
No caption Content unavailable! (broken link)Image Styles/bear-big.jpg
Default caption
Bear
Content unavailable! (broken link)Image Styles/bear-big.jpg
Caption-arrow
Bear
Content unavailable! (broken link)Image Styles/bear-big.jpg
Caption-overlay
Bear
Content unavailable! (broken link)Image Styles/bear-big.jpg

Magnify#

Add a magnifying glass to reveal details of a cropped image. Hover the mouse above the image to see the effect.
%%magnify <your image> /%
[{Image src='<image>' class='magnify'}]

Or set a page-style at the top of the page to add the magnifier to all the images of the page.

[{SET page-styles='magnify'}]
Content unavailable! (broken link)https://source.unsplash.com/-g4dgdOExsw/

Animation#

The animated %%kenburns effect is a type of panning and zooming effect used in video production from still imagery. The name derives from extensive use of the technique by the American documentarian Ken BurnsContent unavailable! (broken link)https://jspwiki-wiki.apache.org/images/out.png

%%kenburns [<wiki-page>/<inline image attachment>] /%
Content unavailable! (broken link)Image Styles/poppy-small.jpg
[{Image src='<image>' class='kenburns' }]
Content unavailable! (broken link)https://source.unsplash.com/-g4dgdOExsw/

Summary#

Note: you need to include Instagram Filters for the additional image effects .

  • light
  • dark
  • invert
  • grayscale
  • blur
  • caption
  • caption-arrow
  • caption-overlay
  • rounded
  • circle
  • raised
  • img-thumbnail
  • fliph
  • flipv
  • fliphv
  • kenburns
  • blend, blend2
  • sepia
  • brightness
  • saturate-2, saturate-8
  • contrast-2, contrast-10
  • hue-rotate-1, hue-rotate-2, hue-rotate-3
  • aden
  • brooklyn
  • clarendon
  • earlybird
  • gingham
  • hudson
  • inkwell
  • lark
  • lofi
  • mayfair
  • moon
  • nashville
  • perpetua
  • reyes
  • rise
  • slumber
  • toaster
  • walden
  • willow
  • xpro2
  • Y1997

See also Haddock Template, Haddock Styles, Instagram Filters, Background Styles