Display blob image from DB to Reactjs

i’m using Springboot, MySQL and ReactJS for this. I’m trying to create a second hand marketplace where users can place ads etc.

At the moment a use can create an add and also add images associated with it, these images get stored in MySQL as a BLOB type.

I have functionality to create an advert and when a user selects an image to upload, the previewed images is displayed on the screen using URL.createObjectURL(), i’m unsure how to do this so that it displays the images associated with the advert (how to get the url like this) from the database.

blob:http://localhost:3000/16d55ccc-15eb-44fd-b0c2-e8f508209e37

What i’d like is that when a user clicks an advert, it loads the blobs/images from the database as images and displays on the client UI.

This is the table with fields that stores images

This is the response im getting (Ad info + image that were added which is the fileUploads field)