BDAddons icon indicating copy to clipboard operation
BDAddons copied to clipboard

[FavoriteMedia]: Preset Category Thumbnail

Open DeCat4 opened this issue 2 years ago • 7 comments

Describe the solution you'd like

Preset Category thumbnail.

Image page takes far too long to load when you have a lot, maybe it's because my images are too big or i have too many categories idk. Maybe have it so when you boot up discord a thumbnail is pre picked for the category and held loaded the same way as for gifs this way it doesn't take too long to load. If you wanna put the effort into this too maybe allow picking the image in settings aswell.

This is what discord does for gifs, for the exception of the favorite tab. So for my case the issue is probably that i have too many categories and it has too pick from too many arrays all at once. I'd rather just have a preset thumbnail that is always loaded.

Screenshots

No response

DeCat4 avatar Mar 03 '23 12:03 DeCat4

You can disable categories thumbnail in the settings.

Dastan21 avatar Mar 03 '23 12:03 Dastan21

Also thumbnails are loaded after the picker has loaded. What exactly takes time to display?

Dastan21 avatar Mar 03 '23 12:03 Dastan21

The thumbnails, I have a lot of categories so that's exactly the issue, you load the thumbnails after you load the picker. An option to have the thumbnails pre-picked would make loading times smaller right? only sacrifice is the images not being random anymore

DeCat4 avatar Mar 03 '23 13:03 DeCat4

Not having them be random would also be great.

bob-carter avatar Mar 03 '23 15:03 bob-carter

My FavoritedMedia takes long to load still but not as long as previous builds, it's been improved. I have Hide thumbnails enabled and I also have quite a bit of categories. I personally don't think it's the thumbnails that is the issue for long load times. Some of my categories have 2k+ media saved, I think it's just the sheer volume that I have favorited that results in long load times. That's my experience though.

Aezaeo avatar Mar 03 '23 16:03 Aezaeo

Tbh I never tested with that many medias/categories so that may be the issue.

Dastan21 avatar Mar 03 '23 16:03 Dastan21

Any chance this is still getting added?

Also i want to try and explain a little better how the thumbnail system can be improved.

(Now i'm not 100% sure wether or not this is how it works) From what i see discord has the gifs of each category pre loaded, just not displayed, except for the favorites tab, when you open the picker it displays the gifs and loads in a random image from the favorites tab then displays it (it usually takes a little longer for the favorite category thumbnail to load than the others so the other ones were definetly pre loaded)

Pretty much the issue is that discord cannot handle loading 4+ category thumbnails without taking too long, so you need to use discord's method, pick an image upon the boot up of the client, and just display and hide it again whenever the picker is open.

If you want to keep the option to randomize the image for each category, maybeee give it a try to randomly select a different image for the thumbnail after you leave the picker tab, when you open it next time the newly chosen image is gonna be already loaded.

DeCat4 avatar Mar 22 '23 06:03 DeCat4

Added in v1.10.0.

Dastan21 avatar Jul 14 '24 14:07 Dastan21