cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Robertjde
Helper V
Helper V

HTML Image from Sharepoint

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;' />&nbsp;Bescheinigung </strong></h4>"
1 ACCEPTED SOLUTION

Accepted Solutions
henkenTech
Resolver II
Resolver II

Unfortunately, there is no way to achieve this. Refer to this article with the same question:

Solved: show image in HTML text control from media in Pow... - Power Platform Community (microsoft.c...

 

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

View solution in original post

3 REPLIES 3
henkenTech
Resolver II
Resolver II

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.

 

 

@henkenTech 
and if the image is uploaded directly in the app?
then how do I write the formula?

henkenTech
Resolver II
Resolver II

Unfortunately, there is no way to achieve this. Refer to this article with the same question:

Solved: show image in HTML text control from media in Pow... - Power Platform Community (microsoft.c...

 

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

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,554)