Linked Records in Application: How do you display images?

I have items in Baserow that are similar to another item. I link these items together with a linked records field in the same table as the initial item.

In the application builder, I want to be able to see those similar items in the detailed view of a repeat element. While I can display the item title in the table element in this detailed view, it will only display the image from the main item and not the similar items like it should.

I tried to create a sample database to go along with this post, but I can’t get a repeat element images to work at all now. The option to select images is not there at all. In fact, while there are about 10 fields, you only have three fields to choose from. I am using the Home Inventory template to try and create this example.

The image field in “Link to table: Items” is missing, as well as all the other fields. If you chose the “Datasource” section, the image fields are there, but the images still do not work.

I also want to mention that the process to insert any information in the application builder is difficult to understand and navigate. The menu I showed in the screenshot is finicky and confusing.

I created a repeat element once, and can’t recreate it in another application. I don’t know if it’s the sample Home Inventory database that is the problem or something else.

@picklepete could you please check this request?

Hello there, sorry for the delay in getting back to you.

I’m sorry to hear you’re having issues with the repeat element, I can certainly help you with this. To make debugging a little easier, could you show me a screenshot of the table your data source is using?

Nesting an image element inside the repeat is definitely possible, but if you’re trying to access the image URl via a Link to table field, you may run into some issues.

Cheers,
Peter

That’s basically what I am trying to do. Right now I am testing everything out with Baserow’s “Home Inventory” template.

On another note: I tried doing the same thing with the “Owner” as I did with the related items section (“Computer”), but the link opens the wrong item. I wanted it to open the Owner profiles. Do I need to set up a details page for that table too?

Clicking on the view link in the owner table, takes a user to an item page, even though I clicked on the “ID” in the “Link to table: Owner”

Is it possible to get rid of the table headers? Or have the image as a link?

Hi @Iokaar, please accept my apologies for the slow reply!

It’s possible to use an image element inside the repeat element, however, in your case using a link to table field adds some complications.

To have access to the image data, you would likely need:

  1. A lookup field pointing to the image data, or
  2. A computed list of URLs as a formula

It’s possible that in the future we will improve this scenario for users such as yourself, but your current schema and page element structure makes this a little complicated to build.

I hope this helps, have a great rest of day!

Cheers,
Peter Evans