Home Forums General Issues Image size return just : h


Image size return just : h

  • Hi,

    I’ve a question about image size.

    When I use [‘sizes’][‘thumbnail’] it’s return just a “h”.
    I think it’s the H of http://

    $img_couleur = get_sub_field('image-couleur'); 
    $img_carre = $img_couleur['sizes']['thumbnail'];
    echo $img_carre;

    And $img_couleur return, image url.

    Do you kown why?
    Thank you for your help

  • Hi @k-lol

    Could you please make sure that you have set the “Return Value” to “Image Array” on the image field’s options?

    If you have done it, could you please share the JSON or XML export file of the field group so I can test it on my installation?

    Thanks 🙂

  • Oh thank you it’s was “just” this…

    I put “url” and not Object….

    Thank you!

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

The topic ‘Image size return just : h’ is closed to new replies.