So I have created a field for an author image called cf_author_image. It’s a image object and it’s supposed to return the image url. When I try to echo the image on my author page, it’s just returning the image id (59) instead of the image url. I know that “get_field” is better for images than “get_post_meta”, but how would i go about displaying the image url? Right now I’m using this:
If you want to echo the image url on a regular page or whatever you can do that by simply doing this: <?php echo get_field('name_of_field'); ?>
But if you use this instead: <?php echo get_post_meta($post->ID, "name_of_field", true); ?>
… You don’t get the image url, then you get the image id.
It seems like you can’t obtain the image url by calling “get_the_author_meta”. Is there another way? Something like “get_the_author_fields”