Support

Account

Home Forums General Issues Can't get the URL from an image field even with the data ["url"] Reply To: Can't get the URL from an image field even with the data ["url"]

  • the_field("image_artiste") echos the value of the field '['url'] has no meaning here since the value is not returned. Try echo get_field("image_artiste")["url"]; but I’m not sure this will work or the following which will always work.

    
    $image = get_field("image_artiste");
    echo $image['url'];