I would like to reverse this behavior: have all the images in the slider share the same height, while the widths vary based on their original aspect ratios.
Is this possible?
I am having an issue with the thumbnails of my embedded post inside a single post. For some reason, it is using the custom image size of your plugin.
I have already tried the plugin “Disable Generate Thumbnails” which you have recommended before but your custom size does not appear there.
Is there other way that I can deactivate it? Thank you.
Kind regards.
]]>I’ve tracked the code down in Github to gutenberg-blocks/src/blocks/posts/components/sortable.js where is appears to be hardcoded. Is there anyway to pull the custom size through? Or will I need to take a different approach to ensure the images are uniform.
Thanks again,
John
WordPress 5.6.2
OceanWP 2.0.2
Robin image optimizer 1.5.0
Some my sites use OceanWP theme. It is very good and popular theme with a lot of abilities for webmaster. With some settings this theme generates custom size images for article main picture (not article text pictures). This custom image size is not registered as WordPress images sizes (so theme generates them not immidiatly). And this has sense, I think, because site doesn’t need this custom size for all uploaded pictures – just for main article picture. But I think, you’ve already understood problem…
In some reason I use Robin Image Optimizer in manual mode, autooptimizing after upload is disabled. So when I start optimizing, custom size images from OceanWP has already been generated. BUT. In case this size doesn’t registered, RIO doesn’t optimize images of this size. And this is real problem, because sometimes images are very big.
I understand, that I can just register in WordPress this OceanWP custom image size. But, as I wrote above, this is not optimal solution – 95% this size images will be unused. Is there any other solution? Maybe, hook/filter for registering custom image size only for ROI? Or something else? I would be grateful for any help.
]]>I go to the styles tab, select no styles and save. But, it continues to go back back to the “Rounded thumbnails:” style no matter what I do.
Please help. I want the related posts to show a custom image size like this crp_thumbnail (204×170)
]]>Thanks!
Pat
]]><?php
$images = get_field('galleria_principale');
if( $images ): ?>
<div id="artists-images" class="linksy">
<ul class="small-block-grid-1 medium-block-grid-3 large-block-grid-4">
<?php foreach( $images as $image ): ?>
<li>
<a class="fancybox" rel="gallery01" href="<?php echo $image['sizes']['works']; ?>" data-title-id="<?php echo $image['alt']; ?>" title="<?php echo $image['title']; ?>"> <img src="<?php echo $image['sizes']['thumbnail']; ?>" alt="" /></a>
<div id="<?php echo $image['alt']; ?>" class="hidden">
<h4><?php echo $image['title']; ?></h4>
<p><?php echo $image['description']; ?></p>
</div>
</li>
<?php endforeach; ?>
</ul>
</div>
<?php endif; ?>
]]>By the way, I can’t crop other image sizes I have created. I can only crop the thumbnail, as you can see in the image: https://i64.tinypic.com/1043gav.png
In the screenshots of the plugin I have noticed that I should be able to crop all image sizes. Am I wrong?
Best regards,
glob