https://github.com/publishpress/PublishPress-Blocks/discussions/1247
The main problem with the Content_Display block is that it displays “large” (original) images, but reduces them to the width of the column. And as a result, I get pictures on the site in different proportions.
But “large” (original) large_size images in WP are usually not cropped to the sizes specified in the admin “Media settings” – /wp-admin/options-media.php.
By default, only “thumbnail_size” are cropped to the sizes specified in the admin panel.
I have the code set to crop “medium_size” as well.
And it is necessary that at least for small pictures Content_Display: Newspaper_View should be exactly “thumbnail_size”.
And it would be better if there was a choice of sizes. You can make general selection sizes in “thumbnail|medium|large” for each column by block type in “Newspaper View Settings”.
I understand that for Slider_View and other images with “width: 100%;” Frontpage_View needs “large_size”.
.
RU:
Сделайте пожалуйста Content_Display опционально картинки thumbnail или medium size а не large
Главная проблема блока Content_Display в том что он выводит большие (оригинальные) картинки, но уменьшает их до ширины колонки. И витоге у меня получаются на сайте картинки в разных пропорциях.
Но большие (оригинальные) картинки “large_size” в WP обычно не обрезаются до указанных в админке размерах “Настройки медиафайлов” – /wp-admin/options-media.php.
По умолчанию обрезаются до указанных в админке размеров только “thumbnail_size”.
У меня установлен код чтобы обрезались также “medium_size”.
И нужно чтобы хотя бы для мелких картинок Content_Display: Newspaper_View был именно “thumbnail_size”.
А лучше чтобы была опция выбора размеров. Можно сделать общие размеры выбора в “thumbnail|medium|large” для каждой колонки по типам блоков в “Newspaper View Settings”.
Я понимаю что для слайдера Slider_View и прочих картинок с “width: 100%;” Frontpage_View нужен именно “large_size”.