Member
Member
treefingers28   30-03-2010, 11:46
#1

Hi, i was just wondering if there was a way to use light box on the 'printLatestImages' function? Cant seem to find where and what to edit to put in the 'rel=lightbox' part.

Luke

Administrator
Administrator
acrylian   30-03-2010, 12:08
#2

You have to look at the printImageStatistic() main function of the same plugin. If you would use Colorbox which needs to be included from zp-core/js you would not need to hack any file except your theme.

Member
Member
treefingers28   30-03-2010, 13:14
#3

Iv gone down to line 418 and found

`
[*]getImageLink())."\" title=\"" . html_encode($image->getTitle()) . "\">\n";

`
How do i put the rel="lightbox" part in, always come up for an error with me.

Regards, Luke

Administrator
Administrator
acrylian   30-03-2010, 13:33
#4

It won't work as that link links to the image.php page of the theme and not to the full image scripts like the lightbox require. You would have to change that link to $image->getFullImage().

Member
Member
treefingers28   30-03-2010, 20:37
#5

How do i get colorbox to work on the thumbnails?

Administrator
Administrator
acrylian   31-03-2010, 08:08
#6

Include the files (see zenpage theme) and follow the instructions on http://colorpowered.com/colorbox/
It of course requires hacking that function, too.

Member
Member
treefingers28   05-04-2010, 13:28
#7

Managed to get Lightbox to work on it. Cheers anyway mate.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.