Website images and uploads

Available in self-service apps

Add pictures to your app's website by upload or web address, know the type and size limits, write the alt text publishing needs, and see how images reach live.

Use this page to put pictures on your site and to avoid the things that block publishing. For pages and publishing, see Building your app's website with Rad Bot.

An image on a page is either an https address of a picture already hosted somewhere, or one you upload to the workspace.

Uploaded images

  • Types and size: png, jpeg, webp or avif, up to 5 MB each. There is no limit on how many. SVG is not accepted.
  • Storage: website images and blog pictures count towards the app's file storage. See Subscribing, charges and cancelling.
  • How they are shown: they are kept privately and shown to visitors through a public address that does not expire, so they work on cached pages. An uploaded image is referred to as asset: plus its id.
  • On live: uploading also works on the live environment, through the app's API. The upload is checked to be really that kind of image.
  • Deleting: an image a page still uses cannot be deleted. Deleting the module that owns the website deletes the website's images too.

Alt text

Every image needs alt text that describes it, whether uploaded or hosted elsewhere. This includes the logo, the default image and a page's share image.

  • A draft may leave it empty.
  • Rad Bot's cards are refused without it.
  • The site cannot be published while one image has none.

Attach a picture in the Rad Bot chat

  1. Use the paperclip beside the message box, or paste or drop the image into the chat. You can attach up to three images per message, png, jpeg, webp or avif, 5 MB each.
  2. On an app workspace the image is uploaded to your site's images with your own sign-in. Rad Bot is told it is there, with its file name and size.
  3. Rad Bot looks at the images attached to your newest message and proposes alt text from what it sees. Confirm it or give your own.

Rad Bot can see png, jpeg or webp images up to 3.75 MB and 8000 pixels a side. An AVIF or a larger file is uploaded and usable on a page, but Rad Bot cannot see it and asks you for alt text.

Rad Bot can list the uploaded images and use one on a page, always with alt text. It cannot upload an image itself or edit pictures. To build a page from a picture, see Website components, templates and building from a picture.

How images reach live

When you promote the site, the images its pages use are copied to the live environment under the same ids. See Promoting a change from the sandbox to live.

  • If an image cannot be copied, the promotion is refused with a message and nothing on live changes. Trying again copies only what is missing.
  • A module cannot be checked in while a page names an uploaded image that does not exist on the sandbox.