There are 125 images, a lot, I know. There are over 2000 images and I’m spreading them out across about 20 pages. The lightbox is working as it should with one problem. Depending on which image you click, the lightbox can appear “off the screen.” I’ve tried playing with the iFrame scrolling options in FreeWay, but that doesn’t seem to help.
VisualLightBox has the option of using jQuery or Prototype + script.aculou.us engine. The default was jQuery and that is the current setting.
The Lightbox image is supposed to display in the middle of the page/screen - because you are using an iFrame the image may be displaying in the middle - just not in the middle of your page.
That’s what I’m trying to do! You must be tired of hearing me say, “how did you do that?”
What code are you pasting? I’ve been uploading directly from VLB, then going to “view source” copying and pasting. It looks horrible. What am I missing?
It is quite a while since I built this example but I used the VLB output.
In Insert>Markup Item I pasted the code from the VLB output that starts
<!-- Start VisualLightBox.com BODY section id=1 -->
Then the rest of the code down to the bit
<!-- End VisualLightBox.com BODY section -->
In Page>Html Markup in the Before section I pasted in from
<!-- Start VisualLightBox.com HEAD section -->
down to
<!-- End VisualLightBox.com HEAD section -->
I uploaded (by FTP) the various files and folders (engine etc.) and made sure they shared the same structure as when output by VLB and then made sure that the paths to these files/folders matched the code that I pasted into Page>Html Markup and that in the Insert>Markup Item.
For some reason, the code generated by VLB seems strange. If I go to this site http://joenathan4art.com/VisualLightBox/Gourds/ and look at the code, the links to the images are incomplete.
I will try to manually fix the code, but for the pages that have a lot of images, it’s going to take a lot of time.
Thanks for the education, David. VLB uploaded the HTML in a folder outside the data folder. I wonder what would happen if I moved it? Might be worth a try as it’s completely messed up now even after I switched all the relative paths to absolute ones.