Hi,
I’m trying to use Lightbox to open an image on screen. I’ve added the below to the header
And have the following Dataview script:
var imageview = accord.cells(“a2”).attachDataView({
container:“data_container”,
type:{
template:“”,
height:100,
width:100
}
});
imageview.load(“codebase/php/image_view.php”);
I can see the image, but when I click on the image it just opens the image in the same window and I have to use the ‘back’ but to get back to my program. The tag data-lightbox=‘#filename#’
should open the image onscreen overlaying my content.
You can lightbox demo here: lokeshdhakar.com/projects/lightbox2/
Appreciate if you can advise how to get lightbox to work with my dataview to open images as an overlay like it’s supposed to.
Thanks,
Brian