…thinking (hoping) I’ll now get the Imgix URL in the plugin. Unfortunately, nope, that’s not the case. It’s still the AWS S3 URL.
So I’m wondering if there’s a way to retrieve the Imgix URL within a plugin. Or do I simply need to construct the Imgix URL myself (which should be straightforward, but I want to make sure I’m not overlooking something)?
Not that I know of. Have you tried sending the URL Bubble provides? I don’t know much about Fb (don’t use it personally), but I’d guess they’d down-sample the image if need be.
Yes, as stated in my initial post, one could manually construct the URL, but then there’s this issue.
I was explicitly instructed not to use Bubble’s Imgix domain for a plug-in I had planned, so such an approach for any plug-in might not be a wise move for the long term when considering support and future compatibility.
EDIT: To clarify a bit, in an email from support, I was informed that Bubble might transition away from Imgix (for various reasons) at some point. Thus, it doesn’t seem wise to rely on undocumented and unsupported (by Bubble) capabilities. IOW, if what’s needed is not exposed through the API, it would be risky to rely on it.