How does Bubble/Cloudfront image resizing API work?

I can’t find anything in the documentation about how Cloudfront automatically resizes images for Bubble.

I can see that there is some magic where Bubble decides what resolution image is best in the context, and then uses a URL to get the image at the requested resolution.

I even see that if I manually change that URL, I can set things like the width or height if I want to.

I’m tempted to access this programmatically and start manually building my own URLs to resize images the way I want, however I don’t want to do this without any documentation and if there’s a chance that Bubble/Cloudfront may change things without warning, breaking my app.

They are using Imgix.
Also available with built-in :processed with Imgix operator.

http://forum.bubble.io/t/use-imgix-url-parameter-to-crop-resize-images-on-the-fly/127279

1 Like