Thumbnails are Blank

Discussions about the ThumbnailEx control of GdPicture.NET.
Post Reply
ElkayEQ
Posts: 16
Joined: Tue Oct 06, 2015 6:43 am

Thumbnails are Blank

Post by ElkayEQ » Tue Nov 26, 2019 1:31 am

Every now and then in what appears to be a completely random occurrence (about 1 in every 20 views) my thumbnails are blank. The frames are there, the dark-gray background is there, you can click on them and they take you to the correct page but the actual thumbnail image is missing - exactly like setting PauseThumbsLoading = True except my code looks like this:

tn.PauseThumbsLoading = False
Dim myStatus As GdPictureStatus = tn.LoadFromGdViewer(gdView)

There is NEVER any error condition raised. myStatus ALWAYS = GdPictureStatus.Ok

Has anyone else seen this kind of behavior and is it possible there's another property (properties???) that are having a similar effect as PauseThumbsLoading that I should be setting?

Any advice would be very much appreciated!

-Curtis

User avatar
Fabio
Posts: 29
Joined: Thu Aug 27, 2020 9:57 am

Re: Thumbnails are Blank

Post by Fabio » Thu Aug 27, 2020 5:32 pm

Hello Curtis,

It will be hard to reproduce the case.
Here some solutions you can try:
- If your file have a lot of pages, use the property PreloadAllItems and set it at false, it will load only visible items.
--> http://guides.gdpicture.com/content/GdP ... Items.html

- You can also test if you thumbail image is well loaded bu using the OnAllItemsLoaded event, and use the method ReloadThumbnails if not.
--> http://guides.gdpicture.com/content/GdP ... ed_EV.html
--> http://guides.gdpicture.com/content/GdP ... nails.html

Tell me if it works!

Regards,
Fabio de Rose
Solution Engineer

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest