Hi, I've added an "Image gallery" element via the visual composer to one of my pages. When choosing the "Image grid style" type, there's an option for image size. With no image size it works, but the images are not cropped so it looks ugly (different aspect ratios). When I enter an image size, e.g. 300x300, the img tags on the page are generated like this:
<img src="./" alt="image-1">
The only plugins I have installed are Contact Form 7, Varnish and WPML Multilingual Wordpress. So no plugins that alter images in any way.
Finally I found the problem. GD wasn't installed on the server. Unfortunately the wpb_resize function from wpbakery doesn't throw an error in that case, but instead just returns an empty url :(
Hi, I've added an "Image gallery" element via the visual composer to one of my pages. When choosing the "Image grid style" type, there's an option for image size. With no image size it works, but the images are not cropped so it looks ugly (different aspect ratios). When I enter an image size, e.g. 300x300, the img tags on the page are generated like this:
<img src="./" alt="image-1">
The only plugins I have installed are Contact Form 7, Varnish and WPML Multilingual Wordpress. So no plugins that alter images in any way.
Do you have any idea what might be the problem?
Hey!
Please try deactivating all third party plugins and activate them one by one as this could likely be caused by a conflict from a plugin .
ThemeNectar Support Team
Finally I found the problem. GD wasn't installed on the server. Unfortunately the wpb_resize function from wpbakery doesn't throw an error in that case, but instead just returns an empty url :(