0 votes

This package 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

Package owner

Scott Meikle

Scott Meikle

Scott has 228 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: Scott Meikle
  • Created: 23/09/2014
  • Current version 1.0
  • .NET version 4.0
  • License MIT
  • Downloads on Our: 451

External resources