How can I make sure that on a site all thumbnails of images in blocks are displayed in a 16: 9 ratio without cropping? Pennews theme.I can provide a piece of code if necessary.

1 Answers 1

As an option - block, which contains the image, layout for this format, and the image through the styles on the background.

In general, in wp there is a function for adding a new image size - add_image_size(), using it, set the permissions appropriate for your site in this proportion and use it for health.
  • I admit that your recommendations would bring a positive result, but the problem is that I don’t know how to make a block for this format and how to set permission using add_image_size()) – Creepy Crab Nov 7 '19 at 19:15