Hello everybody,
I would like to display an image URL from my Sharepoint page in an HTML text field, but I have a mistake somewhere or I'm doing something wrong.
How can I display the image?
"<h4><strong><img src='https://coffeeandtea.sharepoint.com/.....' width='40' height='40' alt='' style='margin-left: 420px; margin-right: 420px;' /> Bescheinigung </strong></h4>"
I've tried ur way but it didn't work... I think it's because my image is not public shared, but I can't change it to public.
I'll try a work around, but thanks for the suggestion
I found a way.
It's to use a part of List URL_Sample:https://********.sharepoint.com/sites/PowerApps/Images/Forms/AllItems.aspx.
<img src='https://********.sharepoint.com/sites/PowerApps/Images/FileName.png'>
Unfortunately, there is no way to achieve this. Refer to this article with the same question:
It's a very long winded way of doing it, but you could build a PA Flow with HTTP inbound as a trigger, that retrieves the image content from SP and returns it via HTTP in the response. But this is quite over the top for just retrieving an image.
So you maybe have another location you can store the image? Azure? FTP?
Max
@henkenTech
and if the image is uploaded directly in the app?
then how do I write the formula?
My guess is it is the same issue why the PDF viewer cannot show PDFs located on SP. A PowerApp cannot display online content that is not entirely authentication free. The Image has to be located at a completely authentication free storage, such as bit bucket or something.
WarrenBelz
146,522
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,890
Most Valuable Professional