Support

Account

Home Forums General Issues Retrieving image url through relationship Reply To: Retrieving image url through relationship

  • I personally do not see how this is even getting the correct image ID

    
    $image = $bank[0]->bank_logo;
    

    ACF does not get the post attachments and add them to the post array when getting the value of a relationship field. If this is being populated it is not being done by ACF. If it does contain the correct attachment ID then you need to look into how that value is being populated. That is where you’ll find the cause of it being an ID rather than a url.