How to get Image Url
In setting i check image url and name of field is ‘image’
in editor i write this
the_field('image', "user_27" );
but it returns me image id not url
how can i fix this???
I have multi users with same role
i want to get all acf data where role is equal to educator
is there any functionality which provide me my requisite data ??
i think you should try this
$image = get_field(‘photos’);
if( !empty($image) ): ?>
” alt=”<?php echo $image[‘alt’]; ?>” />
<?php endif; ?>