Skip to the products
LCPanelLicence Center Panel

Upload Widget

An uploader to paste into any other website; files land in an account and folder of your choice or in the visitor's own, in parallel pieces. Premium.

Plugins Updated 6 Nov 2026 35 / 50

The Upload Widget plugin gives you an uploader to paste into any other website - a blog, a forum, a client's intranet, a landing page. Visitors drop a file into it and the file lands in BoxPuff: in one account and folder you choose, or in the visitor's own account when they are signed in on your site. Uploads use the same fast road as the site itself, in parallel pieces, so a big file from a slow page is no problem.

It is for owners who collect files from people who will never register (a print shop taking artwork, a school taking homework), and for partners who want "upload to our storage" on their own pages.

Switching it on

Upload Widget is a premium plugin: it needs the upload-widget addon on your licence. Buy it at lcpanel.com, press Check again now on Admin → Configuration → License, then switch Upload Widget on at Admin → Extensions → Plugins (Manage Plugins). Its page appears under Extensions as Upload Widget (/admin/plugin/upload-widget).

The admin page

The page opens with Paste this on any website and two ready-made snippets to copy:

<script src="https://your-site/plugins/upload-widget/widget" data-style="large"></script>

draws the uploader where the tag sits (the script creates an iframe and resizes it to fit), and

<iframe src="https://your-site/plugins/upload-widget/embed?style=large"
        style="width:100%;max-width:640px;height:380px;border:0" title="Upload"></iframe>

does the same on a page that allows no scripts. data-style (or ?style=) is large, medium or minimal; Preview large, medium and minimal open each one. A line under the snippets says where uploads land right now - Uploads land in username's account, or a bold warning that No account is set yet and the widget refuses uploads until you save a username.

Below are the settings:

SettingWhat it does
Storage modeA specific account and folder (default): every upload goes to one member's account. The visitor's own account: the uploader is signed in on this site in the same browser, and the file goes to them; a visitor who is not signed in is told to sign in first.
Account usernameFor the fixed mode: the member who owns the uploads. Type a username (the box searches as you type).
FolderSave the username first; the list then offers that account's folders (or Root folder).
Default styleLarge icon, Medium icon or Minimal - what the snippets use when the tag names no style.
Allowed websitesOne host per line, e.g. example.com. Empty = any site may embed the widget. With hosts listed, the embed page sends a Content-Security-Policy: frame-ancestors header naming them, so a browser refuses to show the widget anywhere else.
Custom CSSAdded inside the widget's iframe.
Text after an uploadShown over the link when a file is done (default Your file is ready:).

Press Save.

How an upload travels

  1. The embed page (plugins/upload-widget/embed) asks plugins/upload-widget/begin for a ticket with the file's name and size. The core's upload_ticket_create() answers as for any upload (Uploads): the package's Max Upload Size, accepted and blocked extensions, blocked keywords and the account's storage allowance are checked first, and the ticket says where the pieces go - this site's chunk.php, a Direct file server's chunk.php, or straight to an S3 bucket in presigned parts (File servers).
  2. The browser sends the pieces in parallel.
  3. plugins/upload-widget/finish closes the upload. In the fixed mode the file is stored with upload_source = widget in the chosen account and folder; in the visitor mode the core's upload_finish() puts it in the signed-in member's account.
  4. The widget shows Text after an upload and the file's link, which the visitor can copy.

An address that sends more than 200 widget uploads in an hour is refused for a while. The widget inherits the limits of the receiving account, so a Free User account as the target means 2 GB files at most on a fresh site - give the receiving account a package that fits what you expect (Account packages).

Typical workflow

  1. Make a member account to receive the files (say intake) and put it on a package with room: a large Max Upload Size and Storage Allowance.
  2. On the plugin page set Storage mode to A specific account and folder, type intake, Save, then pick the Folder and save again.
  3. List your partner sites under Allowed websites.
  4. Paste the script tag into the other site. Try an upload; the file appears in intake's file manager, and under Admin → Files → Manage Files with the source widget.

Tips

  • The minimal style is a single line - right for a sidebar; large shows the drop zone with the big icon.
  • Keep Allowed websites filled in on a public site; otherwise anybody may embed your uploader and fill the account.
  • The visitor mode only works when the embedding page and your site share the browser's cookies - the visitor must be signed in on your site in that browser - so use it on your own pages, not on third-party ones.
  • The receiving member sees nothing special: the files are ordinary files, with every option of the file manager, and they can share the folder back to whoever sent the files.
Was this helpful?
Share this chapter