Thanks for the fix! I just set a resolution of 4, and almost every tile is now loading 400x400 size thumbnails. So that’s working fine.
The only exceptions are a few posts with an original image upload of less than 800x800 but more than 400x400. These posts are loading the 200x200 size thumbnail instead of the available 400x400
The new algo uses rounding. You probably have to accept some will be switched up or down. This is so I can generalise ‘resolution level’ across sets of different length. The issue might be I’m treating each division as equal but in reality it should be non linear.
Sorry can’t spend more time on this at mo. I may improve it in the future.
@merefield, first off… thanks for the amazing plugin
I just wanted to also report that the “topic list default thumbnail fallback” setting does not seem to be working. I’ve set this as our “topic list default thumbnail” but any topic that does not have an image, is not using this fallback image, as illustrated here:
Is there a solution to get the default image to show? I miss the congruence when there was an image or default image for each topic.
One other note… the thumbnails used to show animated GIF’s which we loved. But now it seems it just displays a still shot for the thumbnail, instead of the animated GIF.
This works in the TC, I used it this week. As for the plugin, I’ll take a look at this in the run up of the next supported upgrade period. Thanks for the report.
Thumbnails are created by Discourse now. Most of the related logic has been removed from TLP. We would need to ask them to support animated GIFs.
Yep, I’ve raised this. This is a template clash. One of my colleagues is looking at it.
It should work - I have seen sites using our official theme component successfully with animated gifs. Make sure that the allow animated thumbnails setting is enabled in your site settings. (it is enabled by default)
If it still doesn’t work, feel free to create a new support topic here with the gif that doesn’t work.
Goooops, missed that setting, David, thanks so much for interjecting!
@jord8on if you get no joy with that I will take a look in first instance in that case. Hit me up with an example in a PM if that doesn’t work for you.
Animated GIF’s are working on our site. I’m not sure what the issue was. Maybe it was something on my local device ¯\_(ツ)_/¯
Thanks for looking into that!!
One more question. I just checked out the official discourse theme component and am wondering what the differences are between that Topic List Thumbnails and this “Topic List Previews” plugin? Is one better or worse for certain situations?
@davidkingham@jord8on I’ve added the missing mobile plugin outlet to the TC that @fzngagan has kindly PR’d into Discourse core (cheers mate!), so you might find things are improved. I’ve not yet tested with the Events plugin though!
Let me know how you get on with Events plugin and the TC:
If we adjust thumbnail resolution or uninstall the TLP plugin, do we need to take any actions to purge the old generated thumbnails? Or will they purge automatically in time?
Created At. As in when the Topic was created (not when the tag was applied). And I’ve just double checked a site I have it on and it appears to be working as expected in both modes?
That’s personal choice. TLP has been around longer and in part that is why it is more feature rich (Thumbnail chooser, Featured Images, User Portfolio system, support for Suggested Topics), it has a slightly different Tiles format with more meta data, TLTTC has an additional view type (grid).