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 10092 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
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Ismail Mayat
  • Created: 14/07/2010
  • Current version 1.0
  • License MIT
  • Downloads on Our: 1.2K