Hello,
I cannot figure out how to NOT crop the images in the preview.
What I am trying to achieve is for example to have a certain width and height would be automatically adjusted.
I thougt this would be possible by choosing an image size like 696 x 0 but nothing works.
Could you please advise?
Thank you!
Hi Oswald, our theme is using thumbs , therefore the the images that you’ll upload will be cop to fit well.
Also you can chose if you are using flex blocks the size of image that you want to be display, for this you need to use tagDiv Composer too -> https://i.imgur.com/32TfZtz.png choose the one that is look the best for your needs.
Hope this will help you!
Thank you Calin. I had already tried what you suggest, but thumbs were still always cropped, less or more.
I found a solution though for images whithin flex blocs. In case someone has the same problem, just add this to your CSS:
.td-thumb-css {
background-size: contain!important;
background-repeat: no-repeat!important;
}
But I still have the problem with the images which are not within flex blocs (for example in “related articles” or “more stories”)
I installed the plugin “Simple Image Sizes”, set all thumbs to “not crop” and regenerated all images but this still does not change anything.
Could you tell me what can be done?
Thanks!
Hi,
Indeed these elements are using other blocks.
A solution for related articles is to use a single post templates, edit it with tagDiv Composer and replace the related articles with a flex block that you can filter it using these options -> https://i.imgur.com/Pj5oLm5.png
Unfortunately for the “more stories” this option can not be done, sorry!
Hope this will help you!
Thank you Colin!
I cannot use a Cloud Template as I have a lot of custom code in my single template (I am using loop-single-4.php)
Can I replace the following code with a code which would diplay the related articles as a flex block?
<?php echo $td_mod_single->related_posts();?>
Thanks!