Hello, I'm using the ACF plugin (version 3.4.1) and I'm having troubles setting up custom thumbnail sizes.
I tried to follow the following example found on the ACF Docs but I'm not getting any result.
<?php $image = wp_get_attachment_image_src(get_field('image_test'), 'full'); ?> <img src="<?php echo $image; ?>" alt="<?php get_the_title(get_field('image_test')) ?>" />
I have added the following line to my functions.php file
add_image_size('eff_image', 528, 373, true);
Then I'm calling it with
$image = wp_get_attachment_image_src( get_field('illustration'), 'eff_image' ) ; print_r($image);
And I'm not getting anything in the $image variable
Anything wrong with that?