SOLVED: Template Screenshots not working with Safari due to unexpected MIME type

Browser: Safari 17.5 vs. Chrome 127
OS: macOS Sonoma 14.5

Using Safari, generating template screenshots fails, doesn’t create any screenshots.
Neither on Save Template, nor with bulk generation.

Analyzed by debugging.

wp-content/themes/bricks/includes/ajax.php:1389
function save_template_screenshot() expects mime type “image/webp”, but gets “image/png” with Safari.
Works fine with Chrome.
See screenshots


Hi @MattHias,

Thank you for your report! I was able to replicate the issue and have added it to our internal bug tracker :beetle:

2 Likes

Hi guys,

We’ve fixed this issue in Bricks 1.10.2, now available as a one-click update in your WordPress Dashboard.

Please let us know if you are still experiencing issues.

You can see the full changelog here: Bricks 1.10.2 Changelog – Bricks

Best regards,
M

1 Like

Tested with Safari. The generated screenshots (PNG) are now accepted and stored, during Save operation as well as bulk generation.
Thank you!

2 Likes