Forum Replies Created

  • Thanks for your help, everything is working fine.

  • Thanks, i think im on the way, still not there, but almost.

    The code looks like this for the moment:

    foreach ( $posts as $post ) {
        $post_back_id = the_field('back_image', $udt_project->ID);
        $homepage_secs.='<div class="back-thumb-container"><div class="back-thumb"><img class="image" src="'.$back_image_src[0].'" /></div></div>';

    but, in the website source code, it looks like this:

    <div class="back-thumb-container">
    <div class="back-thumb">
    <img class="image" alt="123456789" src="">

    I have found the path to the second image, but its not in between the src-tag.

    Any ideas?

  • Thanks guys so far for your help.

    Im totally with it, to use get_post_meta($post->id), but i still have no idea where exactly put the_field('image-field-name') or get_field('image-field-name').

    I tried so many things, and i remember once, i saw some code of the image in the code, but i cant really remember the solution, its like to miss the forest for the trees.


Viewing 3 posts - 1 through 3 (of 3 total)