10 votes

Cogworks CogFilteredUpload

Custom fieldtype for contour that renders file upload however unlike out of box contour one this allows regex. The reg ex can be used to restrict types of files that can be uploaded.

To use copy the dll over to your bin. In contour when adding fields you will be able to select one of type Cog Filtered upload.  After adding it goto additional settings and add the following reg ex

^.+\.((jpg)|(gif)|(jpeg)|(png))$

Update the extension in brackets to whatever you like. You can add additional ones by adding |(whatever)

This regex will fire when form is submitted.

Archived files

Documentation

Package owner

Ismail Mayat

Ismail Mayat

Ismail has 9143 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
8.1.x (untested)
8.0.x (untested)
7.14.x (untested)
7.13.x (untested)
7.12.x (untested)
7.11.x (untested)
7.10.x (untested)
7.9.x (untested)
7.8.x (untested)
7.7.x (untested)
7.6.x (untested)
7.5.x (untested)
7.4.x (untested)
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)

You must login before you can report on package compatibility.

Package Information

  • Package owner: Ismail Mayat
  • Created: 14/07/2010
  • Current version 1.0
  • License MIT
  • Downloads: 1808