Open GustavoAlmeidaAboud opened 5 months ago
Hi @GustavoAlmeidaAboud . Could you please tell what file extensions are not displaying thumbnails?
When I tried it in my environment, Excel, Word, PDF, etc. displayed the preview image without any problem.
@tecchan1107 Mainly PDF, but we have over 200+ files.
Thanks for the reply. On my end, the PDF was also previewed.
Do you have the following set up? (Here is an excerpt from the ViewRequirements in the README)
If the above settings are not made, only folders will be displayed as shown below.
Hi @tecchan1107 , the Allow management of contents is allowed, looks like the page doesn't render correctly with all the preview of the pds :/
Hmmm...
I changed the code to use ï¼ thumbnail to display a preview image. When you have time, I hope you will try the following code.
When using the gallery view, are preview images displayed? If possible, I would like you to check this as well.
https://github.com/pnp/List-Formatting/assets/51254139/2b48430f-33fd-4904-bb72-04853179d1d1
Hello @tecchan1107 ,
Thank you very much for helping with this matter.
I can view all the previews in the gallery view without any trouble.
Regarding the page, there seems to be an intermittent pagination issue. Initially, I can see all the previews smoothly with the "Library-Thumbnails" json formatted view. However, as I scroll down the page, the flickering starts, and only a portion of the previews are displayed.
Thank you for checking and for your reply! I will increase the number of data and give it a try.
Thank you for reporting a bug! Use the sections below to submit a bug ONLY if it's related to samples in this repo. If you have an issue or question about list formatting or its documentation, please submit it at https://aka.ms/spdev-issues
DELETE EVERYTHING ABOVE AFTER READING - THANKS!
Sample (which sample are you having trouble with)
document-library-thumbnails
What Should Happen
The image preview thumbnail should be for all the files
What Actually Happens
Some files are not showing the thumbnails