What is :used as ... operator?

What is the purpose of the “: used as …” operator? If anyone knows, can you explain?
I just realized that there is such an operator and I tried to run the text as an image and file a few times, but I couldn’t get any results.

@eve

Hi @batuhanmerguz ,

Text elements and Images or files elements don’t have the same attributes when used in Bubble. Basically text is text while image has an url , can be processed with imgx , etc …

So when you only have access to the url of an image (which is not of type image in Bubble but text) you can use “: used as image” to enable the related attributes.

Here is an example :

Screenshot 2021-03-29 at 18.45.56

Best,

Arthur

I got it. Thank you so much! @arthur.kieffer