Images not loading when using brizy editor
Hi
I've looked at some of the other posts on this but my issue is a little different. When editing a page in Brizy, images do not appear in the page layout. They do appear fine in the image selection properties box, they just don't appear on the page. It seems to be if "Custom" is selected in the image properties box. If I select "Original" the images appear back in the page layout.
On some images, it's would be OK to use Original, but for others I was really hoping to use Brizy's resizing capabilities.
Any thoughts?
Many thanks
-
Hi Martin,
Thank you for reaching out to us.
It is possible that the issue you are facing is caused by a conflict with other plugins or your current theme. To troubleshoot this, I kindly request you to follow these steps:
- Temporarily deactivate all plugins on your website, except for the Brizy and Brizy Pro plugins. This will help us determine if there is a conflict with any third-party plugins.
- If the issue persists, consider switching to a different theme temporarily. This will help us determine if the problem is related to your current theme.
Please try this and let me know how it goes.
Best regards,
Ariel H.0 -
Hi Martin,
If you are using a plugin or a server side software (like CDN) which offers image optimization, image compression or any image processing feature like webp conversion, please try disabling those plugins/ server side software and check if that makes a difference.
For example,
- Image compression and webp conversion option within WP Optimize plugin
- Image optimization options within Litespeed Cache plugin
- 'Image CDN option within Jetpack
- GoDaddy CDN
0 -
Hi both
Thank for that. Yes, I've disabled all the plugins (except Brizy/Brizy Pro) and fully cleared browser cache etc. But still get the issue.
I'm using the Brizy Starter theme so presumably there shouldn't be any conflict with that?
Thanks again and if you've any other suggestions that would be great.
0 -
Hi Martin,
The Brizy Starter theme is not a recommended theme. We have discontinued this theme because of our inability to maintain it. We recommend these themes https://www.brizy.io/theme-partners. You could try changing to one of these themes.
Can you please share your website URL?
0 -
Many thanks for that KC
Although that's a little concerning. It was the recommended way to set up WP sites using Brizy when we set this up. Various posts (although old) suggest there is not much in this theme and it's only required was WP forces you to have a theme. For example:
https://support.brizy.io/hc/en-us/community/posts/360057773772/comments/360013334931
Our site isn't live yet. We're a very small team so it's been underdevelopment for some time now but I'd be happy to share the URL via a private message if that's possible.
Thanks
0 -
Hi Martin,
In December last year, there was a new Linux malware which was targeting WordPress themes and plugins which are outdated. You can read more about it here A new Linux malware has been exploiting 30 vulnerabilities in outdated WordPress plugins and themes to deploy malicious JavaScripts. Since Brizy Starter theme was not being maintained, websites built on it could become vulnerable to such attacks. It was in the context of this malware that we decided to discontinue Brizy Starter theme. Please consider changing to Blocksy or another theme from the above list.
Please send the URL to our email communitysupport@brizy.io. Please mention these details
- Community Post URL: https://support.brizy.io/hc/en-us/community/posts/13052209760146
- Website URL :
0 -
Hi KC
Thanks for that. The information about malware makes sense but it's a bit of a shame a much larger/complex theme like Blocksy has to be used just to make Brizy work. The Starter theme was good from that point of view as it was very miniminal. But there we are.
I've ported our site over to Blocksy and am using a child-theme for customisations. The issue still exists and I've done some more investigation. The issue seems to be through the use of loading custom CSS in the child theme.
We have always loaded a custom CSS file as part of using a child theme (although this was obviously done via the Brizy Starter Theme child previously). Images when editing always worked fine, this is something that's started within the last few months (at a guess).
As per Wordpress docs we load up the child custom CSS using functions.php:
function my_theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style', get_stylesheet_uri() );
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );It's the line wp_enqueue_style( 'child-style', get_stylesheet_uri() ); that causes the images not to appear when editing in Brizy. If you comment that line out, the images load as expected. Uncomment and the images don't appear.
The issue exist regardless of whether the custom style sheet in the child theme style.css file is empty or not.
0 -
Hi Martin,
Please explore other means of adding custom CSS to your website. Please have a look at multiple options provided in this article How to Easily Add Custom CSS to Your WordPress Site
0 -
Ok I'll take a look but given it has only started happening in the last few months seems like it could be a bug in Brizy to me or a conflict with a WP release. How do I raise a bug report?
0 -
Hi KC
I've tried the two other methods mention in the link you provided - using the WPCode custom plugin and Customising the Theme CSS using WP itself. Neither worked.
So I'm now investigating the CSS again further to see if there might be something in that that is causing the issue
0
Please sign in to leave a comment.
Comments
10 comments