Title: Showing Array When Adding Image ID
Last modified: July 19, 2018

---

# Showing Array When Adding Image ID

 *  Resolved [smashwebmedia](https://wordpress.org/support/users/smashwebmedia/)
 * (@smashwebmedia)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/showing-array-when-adding-image-id/)
 * Hi Team,
 * Hope you are doing great!
 * I have one issue on the Image Field Type. All fields are working but except the
   Image.
 * I am getting “Array” when I add the Image Name. Here is the screenshot link: 
   [https://ibb.co/hjCxwy](https://ibb.co/hjCxwy)
 * Please suggest.
 * Regards,
    Kishore

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Jim True](https://wordpress.org/support/users/jimtrue/)
 * (@jimtrue)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/showing-array-when-adding-image-id/#post-10509518)
 * How are you adding the image in this particular page? I need this to help point
   you to the right function to output what you’re looking for.
 * If your image field is a multiple upload, you would need to use `[each image-
   field]{@_img}[/each]` syntax if this is a Pods Template. If you’re in PHP, you’d
   need to loop through the array of the image field to get the ID of the Media 
   attachments and then use [`wp_get_attachment_image`](https://developer.wordpress.org/reference/functions/wp_get_attachment_image/)
   against those ID’s to output.
    -  This reply was modified 7 years, 10 months ago by [Jim True](https://wordpress.org/support/users/jimtrue/).
 *  Plugin Contributor [Jim True](https://wordpress.org/support/users/jimtrue/)
 * (@jimtrue)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/showing-array-when-adding-image-id/#post-10514540)
 * Here’s the [reference docs for using Template Tags in Pods Templates](https://pods.io/docs/build/template-tags-in-pods-templates/)
   and the [Using Magic Tags documentation](https://pods.io/docs/build/using-magic-tags/)
   which explains the image tags above.
 * Good luck!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Showing Array When Adding Image ID’ is closed to new replies.

 * ![](https://ps.w.org/pods/assets/icon.svg?rev=3286397)
 * [Pods - Custom Content Types and Fields](https://wordpress.org/plugins/pods/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pods/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pods/)
 * [Active Topics](https://wordpress.org/support/plugin/pods/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pods/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pods/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jim True](https://wordpress.org/support/users/jimtrue/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/showing-array-when-adding-image-id/#post-10514540)
 * Status: resolved