Title: using json.php for images
Last modified: August 22, 2016

---

# using json.php for images

 *  Resolved [Saurabh Jain](https://wordpress.org/support/users/saurabhsjain91/)
 * (@saurabhsjain91)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/using-jsonphp-for-images/)
 * Hi, I want to get json response of images filtered by gallery id.
    Is it possible
   to do so. eg: “MYURL/index.php?callback=json&api_key=true&format=json&method=
   search&type=image”
 * It calls all the images i want images according to gallery id.
 * Thanks in advance.
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

Viewing 1 replies (of 1 total)

 *  [Benjamin](https://wordpress.org/support/users/benjaminowens/)
 * (@benjaminowens)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/using-jsonphp-for-images/#post-5255397)
 * The JSON API is going to be deprecated in the next release, and has been in the
   current public beta (2.0.67.45). I would recommend using or switching to the 
   XMLRPC API.
 * [See the wordpress codex](http://codex.wordpress.org/XML-RPC_WordPress_API)
 * In particular you want to use get_images() whose parameter is gallery_id, which
   is the gallery whose images you wish to retrieve.

Viewing 1 replies (of 1 total)

The topic ‘using json.php for images’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [gallery id](https://wordpress.org/support/topic-tag/gallery-id/)
 * [images](https://wordpress.org/support/topic-tag/images/)
 * [json](https://wordpress.org/support/topic-tag/json/)

 * 1 reply
 * 2 participants
 * Last reply from: [Benjamin](https://wordpress.org/support/users/benjaminowens/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/using-jsonphp-for-images/#post-5255397)
 * Status: resolved