Skip to content

Add images and thumbnails.

License

Notifications You must be signed in to change notification settings

annaesvensson/yellow-image

Repository files navigation

Deutsch   English   Svenska

Image 0.9.3

Add images and thumbnails.

Screenshot

How to install an extension

Download ZIP file and copy it into your system/extensions folder. Learn more about extensions.

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, JPEG, 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
ImageUploadJpegQuality = JPEG quality for uploaded images
ImageThumbnailJpegQuality = JPEG quality for thumbnails
ImageJpegExtension = JPEG file extension, e.g. auto, .jpeg, .jpg

Acknowledgements

This extension includes a photo by Alejandro Escamilla. Thank you for the beautiful photo.

Developer

Anna Svensson. Get help.

About

Add images and thumbnails.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Languages