Hi,
Please forgive my ignorance, my programming skills are limited. I’m trying to upload images to a custom widget but get nothing? Text works fine. I have tried a few things including the following code –
<?php if( get_field(‘accolade_image’ , $acfw) ): ?>
” />
<?php endif; ?>
and
<?php
$image = get_field(‘accolade_image’, , $acfw);
$size = ‘thumbnail’; // (thumbnail, medium, large, full or custom size)
if( $image ) {
echo wp_get_attachment_image( $image, $size );
}
?>
But no joy. What am I doing wrong?