Hello all,
I am trying to figure out a way to make my featured images scale or fit in the grid I am using from Visual Composer. I’m not sure if this is a Newspaper problem or a Visual Composer one, but in any case, my newspaper license doesn’t come with tech support from Visual Composer so I really hope you can help me. Check this out:
http://www.boundary2.dreamhosters.com/front-page
Basically, I want to make it so the images automatically resize to fit the grid. I would be OK with it if they were cropped — I don’t want any weird distortion. The key thing is to get rid of those ugly gray bars that are currently surrounding my images.
Hello boundary2,
Please take a look over the below explanation and try to understand a bit how it work the thumbs in the theme. Please check here ->>
Our theme uses the system of cropping from center to top. The theme uses thumbs to reduce the page size and speed up page loading time. From each image uploaded are generated thumbs for each thumb size used by the theme. Basically, when a post it’s displayed on the page in a block, the featured image displayed is not the one which you uploaded in the media file, it’s a thumb cropped from the original image at the precise dimension. To change the picture orientation most likely you will need a different cropping system. We use a WordPress function – add_image_size() – you can read about it here – https://codex.wordpress.org/Function_Reference/add_image_size – and here – http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/
Our theme crop (cut) thumbnails in some cases to avoid creating a lot of thumbnails in order to reduce to load more spaces on the server.
If you don’t have the possibility to upload large images you could use a combination of plugins to upscale the thumbs – Thumbnail Upscale and Force Regenerate. For more information about these kinds of plugins, please consult their documentation here -> https://wordpress.org/plugins/thumbnail-upscale/ -> https://wordpress.org/plugins/regenerate-thumbnails/ Also, please ensure that the functionalities of these plugins are not affected by the other untested plugins that could create interference through the theme. Please notice that these types of plugins are not tested with our theme and we cannot provide support for the theme. We recommend them because a lot of our customer uses and they were satisfied to their functionality.
If you want to implement another cropping system for your theme and you are not aware of the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide custom work at the moment, sorry! Usually, we recommend developers from studio.envato.com.
Hope this helps and let us know how it goes!
Thank you for the message!