Images
Last updated
Last updated
The grey boxes in the designs are image placeholders. You can replace them with static or dynamic images. We've applied appropriate responsive settings depending on the use case.
This example has a min width of 20 and a max width of 100. The image will not stretch any wider than its current form.
This example uses fixed width to maintain the round shape. If it wasn't fixed width, the round shape would become a pill shape.
This example uses keep element proportions as the page is resized. The image will maintain its shape as the page is expanded and contracted.
Bubble applies run mode rendering to dynamic images. Let's explore how applying different options renders different results.
Bubble fits the dynamic image with its original dimensions into the image element.
Bubble zooms into the image element to maintain its original shape. Results can be pixelated.
Bubble uses the builtin imgix plugin to first crop the image and then we use stretch to make sure the element fills the image element. This will usually give the best results ✅