* Title helper
*/
F.helpers.title = {
defaults : {
type : 'float', // 'float', 'inside', 'outside' or 'over',
position : 'bottom' // 'top' or 'bottom'
},
beforeShow: function (opts) {
var current = F.current,
text = current.title,
type = opts.type,
title,
target;
if ($.isFunction(text)) {
text = text.call(current.element, current);
}
if (!isString(text) || $.trim(text) === '') {
return;
}
title = $('<div class="fancybox-title fancybox-title-' + type + '-wrap">' + text + '</div>');
switch (type) {
case 'inside':
target = F.skin;
break;
case 'outside':
target = F.wrap;
break;
case 'over':
target = F.inner;
break;
default: // 'float'
target = F.skin;
title.appendTo('body');
if (IE) {
title.width( title.width() );
}
title.wrapInner('<span class="child"></span>');
Hi there,
I have a similar problem: The image descriptions need to show up in the fancybox. Since I found out, that the responsive gallery uses it’s own image descriptions (from the admin menu Responsive Gallery->Gallery Misc) and not the ones that WP stores, I still don’t see a way to get them into the fancybox that shows up when an image is clicked by the user.
The description shows up in the thumnail when hovered but I would need it as a caption on the larger image as well to display the photographer’s name.
Has anyone experience with this? Is there a hook that can be used to overwrite the markup for the gallery?
Thank you in advance!