Title: NextGen Gallery API
Last modified: August 22, 2016

---

# NextGen Gallery API

 *  [nicolasdarnis](https://wordpress.org/support/users/nicolasdarnis/)
 * (@nicolasdarnis)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/nextgen-gallery-api/)
 * Hello,
 * I need to write a script that will automatically create posts from a data file.
   But in each post, I need to also include a NextGen Gallery [ngg]. So I first 
   need to automatically create the ngg galleries and keep their ids prior creating
   posts with the right id for each one.
 * So how can I automatically create a ngg gallery? I have not found any API documentation
   for creating gallery and upload images in php code.
 * Many thanks in advance.

The topic ‘NextGen Gallery API’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [nicolasdarnis](https://wordpress.org/support/users/nicolasdarnis/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/nextgen-gallery-api/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
