[Resolved] nextGen gallery add image (with URL?) and gallery programatically
I have so much trouble with the nextGen gallery plugin to add image and gallery with php.
I saw nggCreateGallery() function in nggFunctions.php but when i try to use it, the parameter pictureList give me some error. What pictureList should be ? I’v try to give it an array of image IDs inserted with add_image() (in ngg-db.php) but that doesn’t work …
So i’v used add_gallery() and add_image() function (in ngg-db.php) to make it work and i’v those functions worked BUT when i’v tried to display those images in the scroll area they didn’t appear cause : “Warning: Division by zero in …/wp-content/plugins/nextgen-scrollgallery/nggScrollGallery.php on line 296”
For what i understand the function add_gallery() doesn’t set the image width and height unlike nggCreateGallery().
My dream would be to create a gallery with images that have been uploaded in with their URL and the get the gallery ID to set it to my original post to display the image scrolling area.
- The topic ‘[Resolved] nextGen gallery add image (with URL?) and gallery programatically’ is closed to new replies.