Single Image Upload example

With image uploaded

How it looks (preview)

Image (required)

Uploaded image

Alt text: Some optional text that describes the image


Images must be 960px by 640px

How to call this example

<%= render "components/single_image_upload", {
  id: "single-image-upload-with-image",
  name: "single-image-upload-with-image",
  image_src: "https://assets.publishing.service.gov.uk/media/11aa22bbbbbb33cccccccccc/No10DoorAjar-2.jpg",
  image_alt: "Some optional text that describes the image",
  image_uploaded: "True if all assets have finished uploading"
} %>