# Image in responsive engine is stretching with keep aspect ratio

**URL:** <https://forum.bubble.io/t/image-in-responsive-engine-is-stretching-with-keep-aspect-ratio/179107>\
**Category:** Responsiveness\
**Created:** [November 20, 2021, 9:02am UTC](https://forum.bubble.io/t/image-in-responsive-engine-is-stretching-with-keep-aspect-ratio/179107 "2021-11-20T09:02:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![patelonline9](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@patelonline9](https://forum.bubble.io/u/patelonline9)\
**Post date:** [November 20, 2021, 9:02am UTC](https://forum.bubble.io/t/image-in-responsive-engine-is-stretching-with-keep-aspect-ratio/179107/1 "2021-11-20T09:02:37Z")

</div>

Hi ,

I am new to bubble and after playing around I found,

In new responsive engine Image always changes it’s ratio Even if KEEP ELEMENT ASPECT RATIO FIXED

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/f/bf31548d28a885f0a5e7d00cfda3cd40876384f0.jpeg)

AM I missing something?

Note in HTML code in IMG tag it is defined CSS **as Width=100% and Height=100%** which I think should produced as **Width=100% and Height=auto** and when I change it to auto in Chrome debugger it works absolutely fine.

Any help is appreciated.

Thank you

---

<div class="post-metadata">

**Author:** ![gerbertdelangen](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gerbertdelangen/32/144602_2.png) [@gerbertdelangen](https://forum.bubble.io/u/gerbertdelangen)\
**Post date:** [November 20, 2021, 10:48am UTC](https://forum.bubble.io/t/image-in-responsive-engine-is-stretching-with-keep-aspect-ratio/179107/2 "2021-11-20T10:48:49Z")

</div>

As a temporary solution you can do this:

1. Instead of the image add a group to the page, remove the Style, set the Background to image and either use static or dynamic image to set the desired image:

![image](https://us1.discourse-cdn.com/bubble/original/3X/2/c/2c4f048df14b30eca7404af24eb99b12bf2137e8.png)

1. Set the ID attribute for the group (f.i. imageYoda):

![image](https://us1.discourse-cdn.com/bubble/original/3X/9/d/9dd7ed4eaccc52241d92cadeb030dc28797a1add.png)

Note: Activate ID attribute in Settings - General:

![image](https://us1.discourse-cdn.com/bubble/original/3X/b/5/b55a8b90b16d1cc09d8e9d6ae4fcafa78cc51012.png)

1. Add an HTML-element to the page:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/a/e/aee75e5cbdf9e1d38570af7c11e929d11013361d.png)

1. Add the following code to the HTML-element:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/4/1/4164ff952c7c8d5319d5291367713c5bfd860302.png)

Note: Sorry for the screenshot of the code, the post-editor interprets html-tags it seems. 🙂

1. This allows you to resize the image with the right aspect ratio:

![XzH38mW1yf](https://us1.discourse-cdn.com/bubble/original/3X/5/d/5d921889d9ee6d6ff44370aef2d857a9ff7aa943.gif)

Note: Of course you can play around with the style settings, f.i. use what you suggested, width 100% and height auto.

---

<div class="post-metadata">

**Author:** ![patelonline9](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@patelonline9](https://forum.bubble.io/u/patelonline9)\
**Post date:** [November 20, 2021, 2:14pm UTC](https://forum.bubble.io/t/image-in-responsive-engine-is-stretching-with-keep-aspect-ratio/179107/3 "2021-11-20T14:14:26Z")

</div>

worked like a charm. Used jquery height(‘auto’) .  
Your info was precious to me.  
Thank you.

---

<div class="post-metadata">

**Author:** ![danny6](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/danny6/32/113509_2.png) [@danny6](https://forum.bubble.io/u/danny6)\
**Post date:** [January 3, 2022, 6:48pm UTC](https://forum.bubble.io/t/image-in-responsive-engine-is-stretching-with-keep-aspect-ratio/179107/4 "2022-01-03T18:48:31Z")

</div>

Are we then saying that this is a bug?

---

<div class="post-metadata">

**Author:** ![willtaylordesign](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/willtaylordesign/32/114668_2.png) [@willtaylordesign](https://forum.bubble.io/u/willtaylordesign)\
**Post date:** [January 9, 2022, 4:11am UTC](https://forum.bubble.io/t/image-in-responsive-engine-is-stretching-with-keep-aspect-ratio/179107/5 "2022-01-09T04:11:29Z")

</div>

I think so as well.

---

<div class="post-metadata">

**Author:** ![mghatiya](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/mghatiya/32/162800_2.png) [@mghatiya](https://forum.bubble.io/u/mghatiya)\
**Post date:** [January 10, 2026, 10:20pm UTC](https://forum.bubble.io/t/image-in-responsive-engine-is-stretching-with-keep-aspect-ratio/179107/6 "2026-01-10T22:20:22Z")

</div>

Is there an official word on this? Doesn’t Bubble support the good old crop/stretch/scale options now at all for images?
