RG | Why is an image being fetched multiple times by Bubble?

Hello,

I have a very simple test page, where I display an RG.
The query returns 1 result, and the result has 1 field: List of Images, which contains only 1 image.

To my surprise, when I look at the Network tab, I can see the image being loaded thrice (sometimes 4 times). I am not re-sizing the UI at these times.

Attached screenshot.

Screenshot 2021-05-07 at 12.22.03 AM

The url is the same :
– “https://d1muf25xaso8hp.cloudfront.net/https%3A%2F%2Fs3.amazonaws.com%2Fappforest_uf%2Ff1620046776660x430638161780683600%2FKeates.png?w=384&h=417&auto=compress&dpr=1&fit=max
– --“https://d1muf25xaso8hp.cloudfront.net/https%3A%2F%2Fs3.amazonaws.com%2Fappforest_uf%2Ff1620046776660x430638161780683600%2FKeates.png?w=256&h=396&auto=compress&dpr=1&fit=max
– “https://d1muf25xaso8hp.cloudfront.net/https%3A%2F%2Fs3.amazonaws.com%2Fappforest_uf%2Ff1620046776660x430638161780683600%2FKeates.png?w=256&h=396&auto=compress&dpr=1&fit=max

I am expecting only 1 fetch. Why are there 4 fetches?

Is this a bug. Could you help me figure this out please?

Thanks

1 Like

Please check out the screenshot:

You can see that the URLs are not the same.
The thing is that Bubble uses a lovely feature for optimization purposes via the Imgix platform.
If you have a large photo, for instance, 3000px / 2000px, but you are using a small group/shape/image of 300px / 200px, the Bubble’s system automatically applies the actual width and height needed to the URL’s parameters.


1 Like

Thank you.

Conclusion: I need to get a pair of glasses.
Many thanks.

2 Likes

Hello, @prasanth.

I had a little laugh looking at this. I was looking at the links about to type the same thing @lottemint.md did. No need for a pair of glasses :joy:. Simple error.

1 Like