Skip to main content

Loader, Storage, Result Storage

imagor Loader, Storage and Result Storage are the building blocks for loading and saving images from various sources:

  • Loader loads image. Enable Loader where you wish to load images from, but without modifying it e.g. static directory.
  • Storage loads and saves image. This allows subsequent requests for the same image loads directly from the storage, instead of HTTP source.
  • Result Storage loads and saves the processed image. This allows subsequent request of the same parameters loads from the result storage, saving processing resources.

imagor provides built-in adaptors that support HTTP(s), Proxy, File System, AWS S3 and Google Cloud Storage. By default, HTTP Loader is used as fallback. You can choose to enable additional adaptors that fit your use cases.

Loader

  • HTTP Loader — Default loader for remote HTTP/HTTPS images

Storage

  • File System — Local file system storage using mounted volumes
  • AWS S3 — Amazon S3 and S3-compatible storage (Cloudflare R2, MinIO, DigitalOcean Spaces)
  • Google Cloud Storage — Google Cloud Storage buckets

Storage and Result Storage Path Style

Enables additional hashing rules to the storage key when loading and saving images. Accepts original (default), digest, suffix, or size.