Image 0.8.16
Images and thumbnails.
How to add an image
Create an [image]
shortcut.
The following arguments are available, all but the first argument are optional:
Name
= file name
Alt
= description of the image, wrap multiple words into quotes
Style
= image style, e.g. left
, center
, right
Width
= image width, pixel or percent
Height
= image height, pixel or percent
The image formats GIF, JPG, PNG and SVG are supported. All media files are located in the media
folder. The media/images
folder is the place to store your images. The media/thumbnails
folder contains image thumbnails. You can also create additional folders and organise files as you like.
Examples
Adding an image, different descriptions:
[image photo.jpg Example]
[image photo.jpg "This is an example image"]
[image photo.jpg "This is an especially long description"]
Adding an image, different styles:
[image photo.jpg Example left]
[image photo.jpg Example center]
[image photo.jpg Example right]
Adding an image, different sizes:
[image photo.jpg Example right 50%]
[image photo.jpg Example right 64 64]
[image photo.jpg Example right 320 200]
Adding an image, different sizes with the default style:
[image photo.jpg Example - 50%]
[image photo.jpg Example - 64 64]
[image photo.jpg Example - 320 200]
Settings
The following settings can be configured in file system/extensions/yellow-system.ini
:
ImageUploadWidthMax
= maximum width for upload, larger images are resized
ImageUploadHeightMax
= maximum height for upload, larger images are resized
ImageUploadJpgQuality
= JPG quality for uploaded images
ImageThumbnailJpgQuality
= JPG quality for thumbnails
Installation
Download extension and copy zip file into your system/extensions
folder. Right click if you use Safari.
This extension includes a photo by Alejandro Escamilla.
Developer
Anna Svensson. Get help.