WordPress.org

Support

Support » Plugins and Hacks » [Plugin: NextGEN Gallery] NextGen – API ?

[Plugin: NextGEN Gallery] NextGen – API ?

  • I’m looking for a gallery to help me sort my images into categories. However I would very much like to display the images in my own way.

    What i am hoping is that there is an API for NextGen Gallery where I can say ‘give me all the picture id’s where Gallery=x’ or ‘give me all the picture id’s where tag=y’.

    Is this possible please, I’ve really looked online, but can only find ways to display the images, not just to interrogate the gallery for data.

    Thanks!

    Tom

Viewing 1 replies (of 1 total)
  • The data you’re talking about is all in the ($wpdb->prefix)ngg_pictures table. You don’t need an API to use it, just a few sql statements.

    Depending on exactly what you want to do, your best bet is probably to write a plugin that returns that data to the theme – maybe using a shortcode.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] NextGen – API ?’ is closed to new replies.
Skip to toolbar