---
title: "File storage for the images, video and PDFs in your app"
description: "Store images, video, PDFs and any other file for your Hercules app. Every file gets a permanent CDN link, and Hercules adds files to your app when you ask."
---

# File storage for the images, video and PDFs in your app

Hercules Files & Media stores the photos, PDFs and video your app shows. Every file gets a permanent link on a content delivery network (CDN), so it loads fast wherever your customers are. There's no separate storage service to sign up for.

- **Any file type.** Store spreadsheets, fonts or anything else you upload.
- **A link for every file.** Each file gets a permanent address at `hercules-cdn.com`.
- **Resize by link.** Serve a thumbnail and a full-size version from one stored photo.

## What can you do with Hercules Files & Media?

### Upload by dragging

Drop files into the Files & Media tab, or click to browse. Each one appears in your library with its details and CDN link. [Files & Media](https://hercules.app/docs/apps/files-media-storage)

### Sort files into folders

Make a folder for each product line and drag files onto it. Folders take a color and an emoji, and search looks across every folder at once. [Organize files](https://hercules.app/docs/apps/files-media-storage)

### Put files in the app by asking

Ask Hercules to "add my logo from Files & Media to the nav bar" and it finds the file. To add several files to chat at once, select them and click Add to Chat. [Add files to chat](https://hercules.app/docs/apps/files-media-storage)

### Resize images from the link

Add a width and a quality setting to an image's link, and the CDN serves it at that size. One upload can serve a catalog thumbnail and a full-size product photo. [Resize images](https://hercules.app/docs/apps/files-media-storage)

### Store what your users upload

Your app can also save files its users upload, such as job photos or signed forms. Your app stores them in its backend. [Hercules Cloud](https://hercules.app/docs/platform/billing/cloud-credits)

## How does adding files to your app work?

### 1. Upload your files

Drag your files into Files & Media with clear names. In this hypothetical example, an equipment distributor uploads product photos and installation guides with names like `pump-x200.jpg` and `guide-pump-x200.pdf`.

Hercules lists each file with its CDN link, and clear names help it match files to products.

### 2. Ask Hercules to use them

> Put each product's photo on its product page, 512 pixels wide, and link its installation guide underneath.

Hercules finds the files and adds their links to the pages.

### 3. Publish

Click Publish.

Hercules serves the photos and PDFs from the CDN to every visitor. [How to publish](https://hercules.app/docs/apps/publish/how-to-publish)

## How has a business used Hercules Files & Media?

MMA Plumbing, a home services company in Hoofddorp in the Netherlands, stored the images and video for their 4,000-page website in Hercules Files & Media. Their founder, Rachid, wanted to win customers from search in every Dutch city instead of paying for leads.

> We built a landing page for every city in the Netherlands. 4,000 pages. Previously that would have taken us 6 months. With Hercules, I built it in 2 days.

Rachid, Founder, MMA Plumbing

Read the [MMA Plumbing story](https://hercules.app/customers/mma-plumbing)

## What should you know before you upload?

- Every file in Files & Media has a public link. Don't upload contracts, ID scans or anything else private.
- Uploading a new version of a file gives it a new link. Update the places your app uses the old one.
- On the free plan, Files & Media holds 100 MB, and each file can be up to 5 MB. A paid plan raises both limits, and you can ask support for more.
- Files your app's users upload count toward Hercules Cloud file storage, which has its own limits.
- Files & Media can't use your own S3-compatible bucket, meaning storage you rent elsewhere that works like Amazon S3. Hercules can build that bucket into your app's code, with its keys kept in [Secrets](https://hercules.app/docs/apps/secrets).
- See what each plan includes on the [pricing page](https://hercules.app/pricing).

## Related features

- Use [Database](/features/database) to keep orders and customers when your app needs records next to its files.
- Use [Hercules SEO](/features/seo) to move your app to server rendering when your photo pages need to be found.
- Use [Internationalization](/features/internationalization) to translate your pages when they go out in more than one language.

## How do you get started?

Upload one photo and one PDF, put them on a page and publish. Check both load on the live page, then upload the rest. Start building.

## Frequently asked questions

### What does a Files & Media link look like?

A Hercules Files & Media link looks like `https://hercules-cdn.com/file_1234567890`, and every file ID starts with `file_`. Replace any older `cdn.hercules.app` links, which use a deprecated format.

### Why isn't a file loading in my app?

A file usually fails to load because the app uses an old link, the resize settings have a typo, or a network filter blocks `hercules-cdn.com`. Fix the link or allow the Hercules domains, then clear the cache or upload the file again.

### How do I delete many files at once?

In Hercules Files & Media, shift-click to select the files, then use the bulk delete action. Deleting a folder also deletes every file inside it.

### What if I need far more storage?

For 1 TB of storage or more, ask [sales@hercules.app](mailto:sales@hercules.app) about the Enterprise plan's custom storage and upload limits.

```json
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What does a Files & Media link look like?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A Hercules Files & Media link looks like https://hercules-cdn.com/file_1234567890, and every file ID starts with file_. Replace any older cdn.hercules.app links, which use a deprecated format."
      }
    },
    {
      "@type": "Question",
      "name": "Why isn't a file loading in my app?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "A file usually fails to load because the app uses an old link, the resize settings have a typo, or a network filter blocks hercules-cdn.com. Fix the link or allow the Hercules domains, then clear the cache or upload the file again."
      }
    },
    {
      "@type": "Question",
      "name": "How do I delete many files at once?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "In Hercules Files & Media, shift-click to select the files, then use the bulk delete action. Deleting a folder also deletes every file inside it."
      }
    },
    {
      "@type": "Question",
      "name": "What if I need far more storage?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "For 1 TB of storage or more, ask sales@hercules.app about the Enterprise plan's custom storage and upload limits."
      }
    }
  ]
}
```
