Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » [Plugin: NextGEN Gallery] add new gallery and images to nextgen in a plugin

  • How can I add a new gallery and its images from a plugin which reads an xml feed.

    I have found :

    XML-RPC protocol support for NextGEN Gallery

    with
    $args = * @param array $args Method parameters.
    * – int blog_id
    * – string username
    * – string password
    * – string new gallery name
    newGallery($args);

    but I can’t figure out how to use it.

    Can any one point me in the right direction. Thank you

    http://wordpress.org/extend/plugins/nextgen-gallery/

Viewing 1 replies (of 1 total)
  • Thread Starter Karen Turner

    (@karen-turner)

    This does not work, but I still can not find a way to simply create a gallery in nextgen, without using the interface.

    $defaultpath = ‘wp-content/gallery’;
    $title =$newgallery = esc_attr( ‘wpwtest’ );
    nggAdmin::create_gallery($title, $defaultpath);

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] add new gallery and images to nextgen in a plugin’ is closed to new replies.