Support

Account

Home Forums Add-ons Gallery Field Getting Image URL when using Gallery that's returning ID Reply To: Getting Image URL when using Gallery that's returning ID

  • You are returning the image id but you are attempting to use the value as if you are returning an array echo esc_url($image['url']);.

    When returning the ID you need to use WP functions to get the image, like wp_get_attachment_image_src()