Yes, but the solution above doesn’t rotate the image like the slideshow. I can see where the json for the slideshow is being returned and the image data is full containing the description but I can’t determine how to display this information.
In the /plugin-folder/js/ngg.slideshow.js file:
jQuery.getJSON(url, function(r){
if (r.stat == "ok"){
for (img in r.images) {
var photo = r.images[img];
alert("title is: " + photo.description); //added by me for diagnosis
stack.push( decodeURI( photo['imageURL'] ) );
}
stackLength = stack.length;
// init loading first 3 images (param 1 in func is first pass)
loadImage(1);
}
});
The alert statement will print the description for the image as shown in the admin panel’s ngg gallery. But where is the photo written to the HTML? Can I intercept what is written to the HTML to add the description somewhere?!