-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVG thumbnails not visible in list view in the WP media library #68
Comments
@kennymacharia thanks for handling this. Does it concerns every size of SVG file? Could you share example svg file which does not render preview (and example of one which renders it correctly in case it would happen) I want to double check: it is not rendered only on list view, but on grid view it is correct, yes? what mime type has user set in FUT plugin for SVG file? |
Hi @kkarpieszuk The issue seems to affect all SVGs but here is one example from the customer: https://www.sendspace.com/file/hsfg1o |
Thanks. what about the view? Is it not displayed only in list view or also on grid view? |
The grid view works but not the list view. |
A user on the WordPress.Org reported that SVG thumbnails are not visible in the media library in the list view. I was able to reproduce the issue:
List view: https://a.supportally.com/i/ZDc9b2
Grid view: https://a.supportally.com/i/wB1z98
They also mentioned that this issue was happening on PHP 7.4 and reported an upload problem on the same version of PHP but I'm unable to reproduce the upload error on my end.
The list view seems to work as expected when using other plugins such as:
https://wordpress.org/plugins/safe-svg/
https://wordpress.org/plugins/svg-support/
https://wordpress.org/plugins/easy-svg/
Environment:
PHP Version: 8.1.9
File Upload Types: 1.3.0
WP: 6.2
The text was updated successfully, but these errors were encountered: