Thumbnails really small

CMS Version

4.4.0 - docker release

Player Type

Android app on Fire Sticks

Issue

When we look at the content that is in the media library, we are not seeing a full size thumbnail of the content and just a tiny 120x67 preview (see below)

Is this something we have set wrong somewhere or a bug? It seems to be the same with any type of image or video.

Thanks in advance

Has anybody got any suggestions? Really could do with some pointers.

Cheers

That’s the only way I know it, and I would also say that this is definitely a thumbnail.

But it’s even this small when you click it to pop it out? I get it being that size on the list, and agree it should be that small for performance reasons but if I click it, it’s impossible to see what is on the media…

Is there a way to regenerate display screenshot thumbnails/images once they get broken in CMS ?

Yes, when I click on it, the image that pops up is the same size as the one in the table

I was going to open a new thread but saw this one. I have the same issue and it’s been there for a while. I previously posted about it here: Media Library Small Thumbnails

We’re on the latest CMS release and it’s still not fixed. It makes navigating the library media items difficult.

I did some addition testing. For a local docker CMS install, the thumbnails are in shared/cms/library and begin with “tn_”. If I delete the thumbnail from shared/cms/library, it is then regenerated but is still small (120x68). I even tried copying the full size image to the thumbnail, but it was still regenerated as small and the full size image was overwritten. The easiest fix would be for the lightbox to just show the full size image.

I was able to fix this by changing line 224 in views/library-page.twig

return '<a class="img-replace" data-toggle="lightbox" data-type="image" href="' + data + '">' +

to

return '<a class="img-replace" data-toggle="lightbox" data-type="image" href="' + data.replace('thumbnail','download') + '?preview=1&width=800&height=800&proportional=1">' +

Yup that works for me too. I’m wondering how to now submit a PR including a box that would allow the size to be set? The previous size is way too small when clicking on the thumbnail to work out what is going on.

I did:

docker exec -ti xibo-docker-cms-web-1 bash
apt install nano #other editors are available
nano /var/www/cms/views/library-page.twig

I then commented out the original line with {# #} and then put @Aaron_Lee_McQueen 's line in

If I could be bothered I’m sure I could do it with a sed/awk but it’s too early in the day for me.

Could anybody from Xibo dive in? I see @natasha said it’s a known issue and in the works but if we could help?

Hey!

Thank you for opening this topic. Just to let you all know that we are aware that thumbnails are a little small when clicked. This will improved in a future minor release of the Xibo CMS.

Thanks :grinning_face:

That’s what I was told back in November. Looks like 4.4.3 just came out. Anyway to get notified when this is fixed?

Hey! This wasn’t included in the latest patch release, but will be in the next minor version (v4.5). I will make a note to update you here once that has been released in a few months time.

Thanks a lot.