0 votes

This project is marked as retired

Let's face it, it was never the best package in the first place :-(

Simple Media Upload

This package contains a user control and macro which combine to allow direct file uploads to a pre-defined media folder from the web site front-end.

The user control itself is a simple wrapping of a (hidden) ASP.NET FileUpload control within an HTML form, with a CSS styleable label acting as the visual upload button. Clicking on the latter item triggers the FileUpload control, which in itself causes a form submit when a file has been selected. The back-end creates a new media item from the uploaded file at the correct location in the media tree, and also creates a jpg thumbnail image where appropriate.

This control was developed to offer an alternative to the excellent Gecko Uploadify control in scenarios where Flash is unavailable (i.e. iOS devices) and builds upon great forum examples given by Nik Wahlberg and Paul Sterling.

The macro comes with the following options:

 

AllowedExtensions

Comma separated list of file extensions allowed by the control.

 

ControlLabelText

The prompt text to the left of the upload button.

 

StatusLabelAfterUpload

The text which appears to the right of the upload button after a successful upload has occurred.

 

StatusLabelAfterUploadError

The text which appears to the right of the upload button after an unsuccessful upload has occurred.

 

TargetFolderId

The target media folder ID where the uploaded file will be logically stored by Umbraco.

 

UploadErrorMessageText

The pop-up alert message which appears after an unsuccessful upload.

 

UploadInvalidFileTypeMessageText

The pop-up alert message which appears after an invalid file type has been selected.

 

UploadSuccessMessageText

The pop-up alert message which appears after a successful upload.

Screenshots

Project owner

Scott Meikle

Scott Meikle

Scott has 148 karma points

Project Compatibility

This project is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
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.

Project Information

  • Project owner: Scott Meikle
  • Created: 23/09/2014
  • Current version 1.0
  • .net Version 4.0
  • License MIT
  • Downloads: 638

External resources