Learn Bubble with 500+ tutorials, courses & AI Assistant ✨

Limited time launch offer get $80 off today

0 days 0 hours 0 minutes 0 seconds
SAVE $80 NOW
Planet No Code logo
Bubble.io CoachingFounder MentoringSponsorships
LoginLearn Bubble.io

How to show text and images from your database in Bubble

In this Bubble.io tutorial we demonstrate how to populate a page with dynamic text and image data from your database.

Join now $19/monthLearn more
Get 500+ tutorials, a No-Code AI Assistant, 4 premium courses, and everything you need to build faster!
How to show text and images from your database in Bubble
Explore these topics...
Database
Design
Image

With just this tutorial learn...

Unlock dynamic data display: Learn how to show product details from your database on a Bubble page!

Master product page templates: Create a flexible reusable element to showcase all your products effortlessly.

Dive into dynamic content: Discover how to link product data and images for a professional marketplace look.

With membership you'll...

Learn how to build a ChatGPT Clone, Custom CRM for your business & SaaS Marketing website with Webflow & AI.

Unlock 500+ Bubble tutorial videos with AI powered Q&A.

Debug your Bubble app instantly with our custom trained No Code AI Assistant.

Join now $19/month
Risk-free! 14-day money-back guarantee. Cancel anytime.

Displaying Dynamic Data in Bubble

Here's how to display dynamic data, meaning taking data from your Bubble app's database and displaying it on a page. So I have the beginnings of a marketplace app here and the early steps of a product page and I want to be able to link up text to show a product name, a short description and a price and an image.

Creating a New Data Type

So I'm going to data and let's create a new data type called product and then I need to add some fields. So Bubble supplies these default fields but I need the fields that I want displayed on the page so let's work through those. So let's call it title and then this is a field type text and then let's have a look we need short description that's also a text and what else do we need price and image.

Setting Up Data Fields

Okay so price I'm not going to go text I'm going to go with number and that's just so that's easier for me later on to do calculations with it. Now there is a function in Bubble to change a number that's expressed as text into a number but it's just an extra step. So by placing it as a number that then means I could easily apply like a 20% discount in the future because it's stored as a number rather than like a series of numbers stored as text. So from like a coding lingo it's being stored as like an integer rather than being stored as a string it just means I get to work with it as a number and not text and then we need an image. So let's just go for thumbnail and this is type image.

Adding Data to the Database

Okay now once you've really built out your app you will probably have a front-end interface that you'll build in Bubble a way to add items whether it's products or contacts to your database but just so we can get moving get started you can add them directly in by adding in an entry here. So let's go with title we'll go with sneakers and then short description these are really great sneakers and price let's go for a number here we go and just adding in an image there and so we click create. So that has created an entry in the database for of a product so how do you display it on the front end.

Creating a Product Template Page

So I'm going to be showing you a way to do this which involves basically creating a template for a product this page here which I've called product which can then be used to display all of your products say acts as a template rather than having to design a different page for every product. So in order to do that I have to make sure that my page content is set to product and that then means that I can add in dynamic data for current page product title, current page product short description, current page product price.

Formatting Dynamic Data

Now because the price is saved as a number it's not going to have any formatting so I can go for a format as change it to currency let's put in two decimal places and then actually what I was really looking for was a dollar sign here we go and then finally image dynamic image and go current page thumbnail and then to make my app really accessible I want to put an alt tag in there that's what you get when you hover the mouse over an image it displays a description of that image if the web designer or the website creators bothered to put that in that's good for SEO and it's also improves your accessibility for people who use screen readers so it's a good thing not to miss so I'm just put in title so it's going to say the products title like sneakers thumbnail.

Previewing the Product Page

Okay now what happens if I click preview let's have a look. So you'll see that if we look at the URL we have product and then we have a following bit of information let's just ignore this this is part of the Bubble development test mode and but it's basically dummy text and that's because I've clicked preview and it doesn't actually know which product remember from my database you know I could have a hundred in here how does Bubble know which one to load in so I'm just going to do a really quick repeating group on my index page to be able to link through to it because at the moment I've got no way of accessing that product basically to to change a bit after hit here this dummy text into one into a slug part of the URL which identifies this product to display on this page so what I'm going to do is just add in a really crude repeating group just search for product and then I'm gonna add in a link and the link is going to be the products title and it's going to link through to product but then it needs to send data and so this is how I send across this is the product I want to show current cell's product because this is a repeating group that shows all my products now if I hit preview let's see what happens okay so there we go I get sneakers and if I click on sneakers comes through to the page there is my thumbnail there's my title my short description and my numbers my number field formatted as a currency

Table of contents

Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Your No-Code Journey Starts Here

The best way to learn Bubble.io?

Build No Code Confidently

No more delays. With 30+ hours of expert content, you’ll have the insights needed to build effectively.

Find every solution in one place

No more searching across platforms for tutorials. Our bundle has everything you need, with 500+ videos covering every feature and technique.

Dive deep into every detail

Get beyond the basics with comprehensive, in-depth courses & no code tutorials that empower you to create a feature-rich, professional app.

Monthly
Yearly
Member
Accelerate your Bubble app to launch
$99 / month
$19/month/mo
Includes:
500+ tutorials
4 premium courses
Find the right tutorial with our custom trained AI
New tutorials added each week
Cancel anytime
14 day money back
Join now
Member
Accelerate your Bubble app to launch
$990 / year
$149/year/mo
Includes:
500+ tutorials
4 premium courses
Find the right tutorial with our custom trained AI
New tutorials added each week
Cancel anytime
14 day money back
Join now

Frequently Asked Questions

Find answers to common questions about our courses, tutorials & content.

Do I need any coding experience?

No. Our Beginner Essentials course and AI No-Code Coach are designed for total newcomers. You’ll learn Bubble.io step by step - no coding required.

How does the AI No-Code Coach work?

Simply type your question in plain English, and our AI taps into the entire video library to recommend the exact lessons you need. It’s like having a personal instructor on demand.

How long can I access the content?

As long as you’re subscribed! With our monthly subscription, you get unlimited access to all 500+ videos, our growing course library, and the AI No-Code Coach.

What courses are included

Your subscription includes:

  • Bubble Beginner Essentials – Get up and running fast.
  • Build a ChatGPT Clone – Integrate AI into your no-code apps.
  • Build Your SaaS Website with AI – Learn to create a scalable startup site.
  • Develop a Custom CRM App in Bubble - Learn database relationships with a CRM.

Plus, new tutorials every week!

What if I get stuck on a lesson?

The AI No-Code Coach is your first stop for instant answers. If you need deeper help, you can book 1:1 Bubble coaching for expert guidance.

Do you offer a money-back guarantee?

Yes! If you don’t see real progress within 14 days, let us know, and we’ll issue a full refund—no questions asked.

Can I cancel anytime?

Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.

What if I want more than just tutorials & courses?

Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.

If you’re serious about building a successful SaaS startup, check out Mastery—our intensive mentorship program. Mastery goes beyond Bubble.io development and includes:

  1. 1:1 mentorship to fast-track your progress
  2. Marketing strategies tailored for no-code founders‍
  3. Product management insights to scale your startup‍
  4. Personalized support from experienced founders

‍

Still have questions?

Reach out to our dedicated team.

Contact
Services
Search Bubble TutorialsBubble.io CoursesBook Bubble.io CoachingApply for Mastery
Latest Bubble tutorials
Rerank Text By MEANING With Cohere In Bubble.io Step by Step!
Unlock RAG Providers for NO CODE AI App Development TODAY!
Better Tables with Built-in Search and Sort By in Bubble.io
Partnerships
Flusk.eu
VectorShift
Comnoco
Plumb
Toddle
Whereby
Get started with no code
AI Powered No Code AppsNo Code Web ScrapingBubble.io Plugin tutorialsBubble API Connector tutorialsStudent & Teacher DiscountBest tools for no coders
Follow us
Youtube
X
LinkedIn
Planet No Code logo
In partnership with
Queen Mary University of London Logo
© 2024 Planet No Code. All rights reserved.
Privacy PolicyTerms of ServiceCookies SettingsContact Us