I’m having the same problem. I’ve tried on a test site with no other plugins installed and I get the same behaviour. To replicate:
<?php $image = get_field('image', get_the_ID()); ?> <img src="<?php echo $image['sizes']['large']; ?>" alt="<?php echo $image['alt'] ?>">
$image['url']instead and I get the correct image size.
So it looks like it’s only using the right image for the raw image size, when the crop was applied to all image sizes. If my original is in some cases very large, I don’t want to just be outputting that.
Can someone advise? Thanks!!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2023 Advanced Custom Fields.