Images
Uploaded images are optimised automatically so your pages load fast on phones and desktops alike. You upload the original; MyAppBuilder prepares a lighter copy, a tiny blurred preview, and records the dimensions. The Image component then displays the file with the fit, ratio and
Images
Uploaded images are optimised automatically so your pages load fast on phones and desktops alike. You upload the original; MyAppBuilder prepares a lighter copy, a tiny blurred preview, and records the dimensions. The Image component then displays the file with the fit, ratio and focal point you choose.
When to use
Any picture that is part of the app itself: hero images, service photos, team portraits, backgrounds, icons. For pictures that belong to records (job photos, product images uploaded by users), see Dynamic images.
What happens on upload
For PNG, JPEG, WebP, GIF and AVIF files:
- Orientation is corrected from the photo's EXIF data, and width × height are stored (shown in the library).
- A WebP variant (maximum 2,560 px wide, quality 82) is created and becomes the URL the app uses — except for GIFs, which keep their original so animation is preserved. The original stays available via Download original.
- An AVIF variant is also generated and stored for images under 4 MB when the encoder is available; the Image component currently serves the WebP variant.
- A blur placeholder (a 16-pixel-wide preview) is stored with the file; the Image component shows it while the full picture loads, then fades the picture in.
SVG files are not converted; their size is read from the viewBox (SVG and documents).
Using the Image component
- Drop an Image onto the page.
- Source: Uploaded asset (pick from the library), URL (an external address) or Dynamic value (a binding, e.g. a record's image field).
- Alt text: describes the image; leave empty to use the asset's alt text (Alt text).
- Fit: cover (fill the box, crop edges), contain (show the whole image) or fill (stretch).
- Aspect ratio: Auto, Square, 4:3, 16:9 or Portrait (3:4).
- Focal point: which part stays visible when the image is cropped by cover, as two percentages, e.g.
50% 30%keeps the upper area (faces) in view. - Lazy loading: on by default; images load as they scroll into view.
- On click: Nothing, Open lightbox (full-screen view), Open URL, Download or Run actions (then add actions under onClick).
Image Source: Uploaded asset → hero-kitchen.jpg (2400×1600) Fit: cover · Aspect ratio: 16:9 · Focal point: 50% 35% Served as: /api/files/…/hero-kitchen.jpg.webp (blur placeholder while loading)
Responsive sizes
The library serves one optimised size per image. You can request a smaller width by adding ?w= to a file URL (for example …/hero.jpg?w=640); the server returns a WebP resized to the nearest supported width (64 to 1920 px) and caches it. The Image component does not add this automatically yet, so for very large hero images consider uploading at the size you need.
Common mistakes
- Expecting PNG transparency to be lost. WebP keeps transparency.
- Animated GIFs looking static. GIFs are served as uploaded; very large GIFs stay large.
- Image cut off. Switch Fit to contain, change the aspect ratio, or set a focal point.
- Blurry image. The original was smaller than the box; upload a larger file (up to 25 MB).
Related
- Editing images · Alt text · Dynamic images
- Image component · Gallery · Responsive design
- Image not showing
Advanced
Processing uses sharp in completeUpload: .rotate(), .resize({ width: 2560, withoutEnlargement: true }).webp({ quality: 82 }), optional .avif({ quality: 55 }) at 1,920 px, and a 16-px WebP data URI as placeholder. The public URL points to the WebP variant when one exists (assetRef). /api/files/<key>?w=<n> picks the next size from 64, 128, 256, 384, 640, 828, 1080, 1280, 1920 and stores the result as <key>.w<n>.webp.