Lightbox utilizes CSS and JavaScript to display the image in a modal window. You only need to load Lightbox JavaScript and CSS files with jQuery in the template and just add the attribute rel="lightbox"
to your images to make it work.
Why isn't that working for you?