Get data from Gallerific onSlideChange
<p>Hello trying to get the  current image data from gallerific</p>

<pre><code>onSlideChange:function(prevIndex, nextIndex) {
this.find('ul.thumbs').children()
    .eq(prevIndex).fadeTo('fast', onMouseOutOpacity).end()
    .eq(nextIndex).fadeTo('fast', 1.0);

    var image_id = this.find('img').eq(nextIndex)[0].id;

 jQuery.ajax({
    type: "POST",                             
    data: { image: image_id },
    url: 'my_shares.php',
    success: function(msg){
        jQuery("#my_shares").html(msg)
}
});
},
</code></pre>

<p>I got this line </p>

<pre><code> var image_id = jQuery('ul.thumbs').children().find('img').eq(nextIndex)[0].id;
</code></pre>

<p>from <a href="http://stackoverflow.com/questions/9592161/gelleriffic-how-to-get-the-imagedata-onslidechange-event">this post</a> but it's not capturing any of my data.</p>

<p>Any help would be greatly appreciated.</p>

<p>EDIT** Getting closer. I'm able to retrieve the hash by using </p>

<pre><code>var image_id = this.data[nextIndex].hash;
</code></pre>

<p>but still no luck getting the image title and src.</p>
