bitbonsai / facyBox

A jQuery-based, Facebook/Fancybox-style lightbox which can display images, divs, or entire remote pages. Based on fancybox.net and famspam.com/facebox

Home Page:http://bitbonsai.com/facybox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Facybox title below image

XavierF opened this issue · comments

Is there a way for facybox to display image title from a href attribute below the image?
also to add additional content such as social media links?

currently have it working in a wordpress installation using jquery Isotope for laying out images(or posts in the loop).

with this:

<a href="#" rel="box" class="item" title="<?php the_title();?>"><?php the_content();?></a>
<script>
$("a[href$='.jpg'], a[href$='.png'], a[href$='.jpeg'], a[href$='.gif']").facybox();
</script>

I think there is no way to view title at all in this minimal version.

Only 1 question: why for this files?

fancy_title_left.png
fancy_title_main.png
fancy_title_right.png

The pngs were for decorating the title, this plugin was created more than 4 years ago :)