File upload

fi.aisti.upload

Uploads files to the site and optionally creates thumbnails from images
Current version0.9
Author Aisti
Visit Aisti's site

Download now

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

Description

This control enables you to upload files from local computer to site's file-folder

For images, you can define thumbnails that will be automatically resized or cropped from the orginal image provided

Documentation

Attributes for output tag:

show

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 and 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 the thumbnails generated by the control.