Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
extension.ini
image-screenshot.png
image.php
picture-100x40.jpg

README.md

Image 0.8.2

Images and thumbnails. See demo.

Screenshot

How to install extension

  1. Download and install Datenstrom Yellow.
  2. Download extension. If you are using Safari, right click and select 'Download file as'.
  3. Copy image.zip into your system/extensions folder.

To uninstall delete the extension files.

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 = alternative text
Style = image style, e.g. left, center, right
Width = image width, pixel or percent
Height = image height, pixel or percent

The extension uses GD graphics library by Thomas Boutell for resizing images.

Settings

The following settings can be configured in file system/settings/system.ini:

ImageLocation = location for images
ImageDir = directory for images
ImageAlt = alternative text
ImageUploadWidthMax = maximum width for upload, larger images are resized
ImageUploadHeightMax = maximum height for upload, larger images are resized
ImageUploadJpgQuality = JPG quality for uploaded images
ImageThumbnailLocation = location for thumbnails
ImageThumbnailDir = directory for thumbnails
ImageThumbnailJpgQuality = JPG quality for thumbnails

Examples

Adding an image:

[image picture.jpg]
[image picture.jpg Picture]
[image picture.jpg "This is an example image"]

Adding an image, different styles:

[image picture.jpg Example left]
[image picture.jpg Example center]
[image picture.jpg Example right]

Adding an image, different sizes:

[image picture.jpg Example - 64 64]
[image picture.jpg Example - 320 200]
[image picture.jpg Example - 50%]

Developer

Datenstrom featuring Thomas Boutell. Get support.

You can’t perform that action at this time.