Support » Plugins and Hacks » Adding title to images???

Adding title to images???

Viewing 2 replies - 1 through 2 (of 2 total)
  • *	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,
    			if ($.isFunction(text)) {
    				text = text.call(current.element, current);
    			if (!isString(text) || $.trim(text) === '') {
    			title = $('<div class="fancybox-title fancybox-title-' + type + '-wrap">' + text + '</div>');
    			switch (type) {
    				case 'inside':
    					target = F.skin;
    				case 'outside':
    					target = F.wrap;
    				case 'over':
    					target = F.inner;
    				default: // 'float'
    					target = F.skin;
    					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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding title to images???’ is closed to new replies.