This might be a support request, I'm not sure. I'm using 2.10, and have 'Generate thumbnails' set to off, although previously I had it set to on. Since changing that setting I've cleared the cache and also run cron.
In both cases, my Twitter media items are missing a thumbnail in the media library view, and this seems to cause a layout issue which means the media item name is almost completely hidden too:

Is this the expected behaviour or does it look like I've done something wrong? I would imagine that we could use a generic placeholder thumbnail if one hasn't been generated.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Screenshot 2019-09-30 at 17.52.04.png | 36.4 KB | Phil Wolstenholme |
| Screenshot 2019-09-30 at 17.33.37.png | 892.94 KB | Phil Wolstenholme |
Comments
Comment #2
Phil Wolstenholme commentedHmm, I've reinstalled my site from config (with 'Generate thumbnails' set to false) and now it seems a fallback thumbnail is used:
I'm happy to close the ticket and will do in a few days but would also be interested to hear why the thumbnail might not have been showing up earlier.
Comment #3
Phil Wolstenholme commentedChanging issue type and priority as the issue went away when reinstalling my site
Comment #4
Phil Wolstenholme commentedRe-changing the status as I can reproduce the error by enabling the generate thumbnails setting and running cron.
This is the markup of a Twitter item in the media library, it looks like the SVG thumbnnail is missing?
<div class="media-library-item__preview js-media-library-item-preview js-click-to-select-trigger"><div data-quickedit-field-id="media/1/thumbnail/en/media_library" class="field field--name-thumbnail field--type-image field--label-hidden field__item"></div></div>It looks like Drupal is trying to use an image style on the image, is there some config I need to do to exclude the Twitter thumbnails from this?
Could not apply Medium (220×220) image style to public://twitter-thumbnails/1175025447207428097.svg because the style does not support it.Comment #5
damienmckennaComment #6
volkerk commentedComment #7
volkerk commentedAfter second thought this might not be related, moved patch to #3107673: Media default thumbnail is missing
Comment #8
volkerk commentedComment #9
raofei commentedmost of the case is somthing wrong with your server configuration. if you set some directory visiting forbiden in your server. you can comment it. and the thumbnails will recreate by cron.