Active
Project:
fancyBox
Version:
7.x-2.0-alpha5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
3 Jul 2013 at 20:39 UTC
Updated:
4 Jul 2013 at 03:08 UTC
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 ? ' ' + title : '') + '</span>';}
with your module?
Thank you in advance!
Sorry for bad english ...
Comments
Comment #1
dwieeb commentedAre you sure this is a fancyBox 2.1+ option? I do not see it in the documentation or the source code.