Oh, no. I wanted to extend it with features that are absolutely mandatory.
I would need to append to HTML juicebox is generating.
I ask for refund then, what is the process for it?

Resolved. The method actually requires image index as first argument.
I would make it default to current image. Now API client can write:

jb.getImageInfo(jb.getImageIndex());
var jb = new juicebox({
        containerId: 'juicebox-container',
        useFlickr: true,
        flickrSetId: '72157649434903462',
        flickrShowTitle: true,
        flickrShowDescription: true
});

Juicebox includes very limited information to the event.
Please, return at least description, if it is enabled, so that I can pass metadata there.

jb.onImageChange = function(e) {
    console.log(e);
    // Object {id: 1, title: "...", caption: "Rastaganesh"} 
}

I have a gallery loading from Flickr and want to get its URL so that I can find out its ID and make custom queries to Flickr.

> jb.getImageInfo()
Uncaught TypeError: Cannot read property 'position' of undefined

It would be super awesome if Juicebox would expose Flickr API tools for advanced coding, so that I can access raw responses from Flickr.

Hello.

I want to add a button into the button area for another social platform.
I hook into onInitComplete and add HTML to DOM.

var buttonHTML = '/* Copy of Facebook button */';
document.getElementsByClassName('jb-bb-btn-facebook')[0].insertAdjacentHTML('beforeBegin', buttonHTML);

It works well, a new button is added,
but Juicebox set width to the parent element jb-classifier-link-wrapper hence this output:

http://storage5.static.itmages.com/i/14 … 350b6c.png

I can unset width from outside, but there are two things that blocks me:

1. Juicebox set width after onInitComplete is fired.
2. Juicebox set width every time window change size

Can you advice here? Or may be compile a version for me that doesn't set width?
Why do you force it in the first place?