Home > Forum > Forms > Display picture in Item List?

Display picture in Item List?
0

Hello,
is there any chance of presenting a picture in an item list? After getting images to be shown in my report, this would be the next component I need.
Thanks for your hints in advance.
Best, Ingo

In reply to: Sebastian Gębuś

Hi,
I can't reply to your previous post, and I don't know if you already solved the problem, but picture link field shoud be "Multiple lines of text", then you simply display it as a column in the report. Works in version 2021, following the linked article.

As for displaying picture in items list, you can also use the multiple lines field, and the <img src> tag for this.

Hello Sebastian,

thank you for your help.

I closed the former thread as it did not let me go. I tried over and over again and then found what I did wrong. That works fine so far.

Regarding your suggestion for the item list I understand your screenshot pointing to an attachment. If I use the "Picture" type field to load the picture, does this deliver an attachment?

I assume, that this is not the case (not having examined that). If no attachment is given, can you suggest on how to get the picture into the multiline field?

The method used within the report does not work so far.

Thank you again for your help.

In reply to: Sebastian Gębuś

Yes, in my case the image is in the attachments, and additionally I use the url with '/preview'.
But if you use the picture field, you can pass base64 to the <img> tag, as in the example with displaying a picture in a report.
So something like this should also work on item list:
<img src="data:image/png;base64, <pic in base64>"/>

Hi,

just tested this, but it does not work.

What I testet is:
1) Create a field "Item List Picture" of type MultiLineText in the Dictionary-Process and paste the content, once an image is loaded into the "Picture" field.
2) Add a MultiLineText field to my item list and let it be filled through a Picker by choosing an entry from the dictionary process.
3) The picture does not show up, as presented in the screenshot attached.

The content I paste into field (1) and add into (2) is similar to this pattern:
<img src="data:image/png;base64,[Base64 Content]"/>

Can you please advise once more?