Support

Account

Home Forums General Issues Can't display specific size image Reply To: Can't display specific size image

  • Hi @johnnyriss

    2 things:

    1 Looking at the docs (http://codex.wordpress.org/Function_Reference/wp_get_attachment_image_src) I can see that there is a 2nd param to the function called $size. You are not using this size. You should me using ‘medium’

    2. Further on the docs, it states that the returned value is not a URL to the image, but an array containing 3 bits of info. The first being the URL followed by the width and height.

    This is already covered in the documentation for the image field. Perhaps you could read up on the ACF docs?

    Hope that helps