Thank you for this module! It does everything I need, except for one thing ...

I need to show the number of the current image, and how many pictures in the album.
How is this possible to do?
Can I do something like this:
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) { return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';}
with your module?

Thank you in advance!

Sorry for bad english ...

Comments

dwieeb’s picture

Are you sure this is a fancyBox 2.1+ option? I do not see it in the documentation or the source code.