SVG showing only in square ratio (using elementor) [closed]
SVG showing only in square ratio (using elementor) [closed]
SVG showing only in square ratio (using elementor) [closed]
I thing, u need new php Class. WordPress not support this function correct, cause wordpress try crop proportionaly whatever you do.
In some cases, the ImageMagick extension might not be installed or might be unreliable (old versions of ImageMagick can be buggy). If its okay then check the rest of points. It’s the GD Library not installed.If its installed you forget to restart server. sudo apt-get install php7.0-gd Use this to stop Apache for it to … Read more
I solved the problem: it was bad formatting of functions.php file – UTF-8. When i turned it to UTF-8 without BOM my problem just disappear.
In your theme’s functions.php add a call add_image_size($name, $width, $height, $crop) where $name is the name or identifier for the new size, and $crop is whether the image should cropped to fit the dimensions or just shrunk to fit within the dimensions given. This will register the new size that will be automatically created when … Read more
Figured it out! Our live server was missing the GD Image Library. For some reason it was not included in the package we used to instance our server. I found the tip about the GD lib in this thread from the WordPress support forum. It was three years old, but pointed to the missing library. … Read more