Forum Discussion
Pascal_T180
Sep 24, 2020Copper Contributor
in a result list, how to make PNG pictures displayed when I click on the name?
Hi
The title is maybe not super clear... so let me rephrase it!
I've a result list in a page on Sharepoint Online. To do it, i'm using the "Search Results" Web Part and i display the results using the details list layout.
In this list, I've many results, including Word, PPT, PDF, and more files. Of course, when i click on a PDF; the pdf opens, same goes for PPTx, XLSx, etc... but when I click on a PNG file, i land on page giving me some info about the document but i dont have access to the PNG neither it's displayed.
I guess, it's a matter of configuring SP Online to do an action if it's a *.png type of file?
Thanks for your help.
P
- ArefHalmstrandSteel Contributor
Pascal_T180 Is it possible to get a screenshot of your page? Are you using classic or modern site?
- Pascal_T180Copper Contributor
- ArefHalmstrandSteel Contributor
Pascal_T180 Are the web parts from PnP?
https://microsoft-search.github.io/pnp-modern-search/There is a possibility that the web part needs to be configured by code, on handling these files. However it also sounds quite unlikely. I can look further into this, but meanwhile, please answer where the source of the search result web part is (PnP, custom git repository etc).
- Pascal_T180Copper Contributor
Up ^^