Dond RSS Feed

RSS Feed

DonD’s WebPlus Demo site

DonD 2012© No Rights Reserved

Page last updated 25/01/2012 10:24:02

Produced with

Site Feedback

Search

Intro 3rd Party X5 WP/X2/X4 Topical Demo's Forum Contact Downloads sitemap

Lightbox +

How do we implement this in WP


If you have looked at the Lytebox pages you have a good idea of how it is done, if you have not looked please do here.

Download the Lightbox+ files from here. In this zip folder you will find 3 folders, in the tiny & file folders these hold the small and large test photos of the above for you to try if required, and resource folder which holds the .js & .css files plus the graphics for Lightbox viewer.


What to upload and where


  1. First produce 2 of each photo, 1 small 1 large. Check out the size of the large photo in the Lightbox.zip. As an example.
  2. The small photo is to be put onto your web page to act as a thumbnail with a hyperlink to the larger to open in Lightbox+.
  3. From the resource folder take out the 2 .js files and then upload this folder to your host. I use the free Filezilla FTP client to do this. This folder needs to be uploaded into your root directory. This is the place you upload your site. Keep the folder name as resource.
  4. Upload the 2 .js files into the root directory so they will be at the same level on your host as the html page the thumbnail photos are on so the code we are to put onto your web page picks up these files to use.
  5. Once you have made up your large photos upload these to your host to a folder that you will link to when doing the hyperlink on the thumbnails. i.e. Images.


That’s all the uploading of files done so next we will work on getting the web page set up.

What is  Lightbox +


Lightbox + was written from the original Lightbox by Takuya Ottani.  Lightbox + is a simple, unobtrusive script used to overlay images in the current page and works with all modern browsers. However if the overlay picture is larger than the screen size it will be reduced to fit BUT with an option button to increase the size to it’s normal size. You can also zoom into the photo, there is a location display to show you where you are on the photo.


Features



The best way to explain this is in a demonstration, Click on one of the photos below to view. You will find in the top left corner         a button to increase the photo to it’s normal size then just use the mouse to zoom.

Double click the large photo  or the X top right to close.                            

Grass

Road

Lightbox+2

Next

Lightbox+2

Next