Integrating Lightbox2 image gallery into phpVMS

Hi all

Has anyone had any success with this?  When I add the .js files into the news .tpl file my “Who’s online” map on the home pages goes wrong.  I could make a link in the news item to link to a images page, but I’d prefer to include the images within the news item if possible.

Cheers!

Will

Most probable a div somewhere not in the right place

Or you could just make a page on phpvms and iframe it?

<iframe src =“LINK TO GALLERY HERE!” width=“100%” height=“300”>

  <p>Your browser does not support iframes.</p>

</iframe>

If you follow the instructions they give it should work just as normal.

If you can find a jquery plugin lightbox, that would work even easier

Hi all

The error i get when including the 3 .js files as per their instructions is:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; FDM)

Timestamp: Sat, 16 Jan 2010 21:21:59 UTC

Message: Object doesn’t support this property or method

Line: 31

Char: 1

Code: 0

URI: http://www.airsouthwestvirtual.com/v2/lib/js/acarsmap.js

Message: ‘null’ is null or not an object

Line: 32

Char: 2

Code: 0

URI: http://www.airsouthwestvirtual.com/v2/lib/js/phpvms.js

if that helps.  I’ve tried putting the actual js files in a few different places and all still give the same problem.

All sorted now thanks Nabeel I searched for a JQuery version and found Slimbox2 - works perfectly!

All sorted now thanks Nabeel I searched for a JQuery version and found Slimbox2 - works perfectly!

Do you have a link to the program?

http://www.digitalia.be/software/slimbox2

Take a look at our site to see it in action with shots of the upcoming Manchester Xtreme.  It’s in the latest news item on the front page.

I looked at your site last night. I like it. Good Job!!

Thanks