Image chooser

fi.aisti.imagechooser

Image chooser
Current version0.2
Author Aisti
Visit Aisti's site

Download now

Currently you are only able to download controls through Bildy Editor.

Description

User can select an image to use from a preselected set of files, or choose outside the preselected set if allowed in control settings.

Documentation

Attributes for output tag:

output

Can be:

  • filename - outputs only the filename. Path to the file will be dropped (/images/cheese.jpg will become cheese.jpg)
  • raw - outputs the filename including the path (/images/cheese.jpg)
  • tag - Creates an image tag showing the image. Image dimensions will be read automatically from the file and included as width and height attributes. Additional attributes will be passed to the tag.
If show attribute is not given, control will output the filename including a full path to the file from the site root

suffix

Returns the file name with a given suffi (cheese.jpg -> cheese_suffix.jpg). This way you can refer to possible thumbnails.