Images not being created when creating a page with AI - Anyone else?

Anyone else having an issue when they build a page with AI that none of the images show up? If I pasted the URL into the browser it shows the image but it’s just empty in the editor. Am I the only one having this issue?

Just generated a page, and I see the same thing. Turns out the image URLs are malformed. If you look closely at those URLs you should see there’s actually a URL embedded within the main URL (separated with 3 underscores for emphasis below)…

https://d1muf25xaso8hp.cloudfront.net/___https://1afa26e12bb5ca4da52371c13e9ecac0.cdn.bubble.io/f1744771118697x720789500216230500/AI-Generated-Image.png___?&w=1024&h=1024&fit=crop&crop=entropy

That embedded URL should be URL-encoded b/c it’s actually a path parameter for the main URL (the cloudfront.net domain). It should really look something like the following (without the underscores of course)…

https://d1muf25xaso8hp.cloudfront.net/___https%3A%2F%2F1afa26e12bb5ca4da52371c13e9ecac0.cdn.bubble.io%2Ff1744771118697x720789500216230500%2FAI-Generated-Image.png___?&w=1024&h=1024&fit=crop&crop=entropy

The image will render in some contexts—such as a browser’s address bar—because that field incorporates additional logic to handle user input. IOW, it’s more forgiving; but strictly speaking, the URLs are malformed.

TL;DR It should be a simple fix for Bubble if they’re made aware of the issue.

2 Likes

Yeah. I did a bug report but they take forever to fix things and I won’t hold my breath. They told me to clear my browser cache. :rofl: :man_facepalming: @fede.bubble Maybe you can pass this along?

hahahaha…Bubble support now reminds me of my 4th grade computer teacher (I was in 4th grade in 1993); for any and all issues any student had with the Microsoft Word document, the answer was always ‘File Quit!’. If I went to my 30 year high school reunion, all classmates who were in the 4th grade together will instantly recall the phrase ‘File Quit!’ (especially when said in the same accent as the teacher).

So now, for Bubble that is ‘Clear Browser Cache!’, and just like the answer of ‘file quit!’ it is not at all the correct answer for most issues.

BTW, I have not played with the AI builder more than once, but, does the URL value get saved as static text or is it actually getting pulled from a database field entry? Sort of like the difference between uploading the image directly into the image element you get the white URL as the dynamic value instead of a reference to a database entry.

1 Like

Haha :rofl:

The images are not coming from the database. It’s just the url which is malformed. :man_facepalming:

The AI design is still really horrible. It might be good temporarily but I have a really hard time wanting to use it for anything so far. I normally just end up deleting it and creating my own design.

2 Likes

asking about this, brb

Update

Apparently this is from the “page generator”, the early version of Bubble AI from last year. Not the new app-gen AI tool. So the designs are based on some templating the team did as early explorations way back then.
The team will take a look at why images are not populating correctly but their focus right now is in the full app-generator

Yeah, that’s lame. Another feature pushed out and broken. This is really frustrating. Just today I ran into a handful of annoying bugs but don’t want to even do a bug report because I know this is the type of response I get each time.

PS. I know it’s not your fault @fede.bubble I’m not upset with you.

This topic was automatically closed after 14 days. New replies are no longer allowed.