Contents
Connect

Taking photos and files

Visitors attach a photo or a PDF and the app uses it. Images and PDFs up to 5MB each.

What it is for

A repair request with a photo of the damage. A job application with a CV. A menu picture uploaded by staff.

One photo replaces ten lines of description, especially on an intake form.

The file is stored for the project and given back as an address the app can show.

What you need

Nothing to sign up for. Uploading does require the visitor to be signed in to your app.

  • What kind of file — a photo or a document
  • Where it belongs — which post or which application
  • Who uploads it — a customer or a member of staff

The order to do it in

Add sign-in first, then the upload field. An upload field on a page anyone can reach will simply be refused.

Say what the file is for. A profile photo and a contract PDF want different screens.

How to check it worked

Upload one file in the preview and open the address it returns in a new tab.

Try a file that is too large. It should be refused clearly, not silently dropped.

Addresses from a deleted project answer 404 straight away. Nothing lingers after a purge.

What it will not do

  • PNG, JPG, WebP, GIF, AVIF and PDF only. SVG is refused because it can carry code.
  • 5MB per file. Video is out of range.
  • The server renames every file. A name that carried personal detail does not survive into the address.
  • Anyone with the address can open the file. The name is random and search engines are told to skip it, but do not print the address of a private document on a public page.
  • Files go up one at a time.
  • Up to 200 uploads per project per day.

Read next