Collapse image element width when not visible

There’s no way to do it in the old responsive engine natively in Bubble, so if you’re using that you’ll have to look in to some custom code solutions…

Here’s an old thread that might give you some ideas:

Collapsable Width - Need help - Bubble Forum