Javascript Image Hack

The following image set is generated by Javascript Image Viewer . Click any picture to run gallery.

Overview


Popular LightBox and Thickbox, JavaScript widgets to show content in modal windows, are outdated at the moment. They are not updated since 2007. There are some great alternatives - colorbox, jQueryUI Dialog, fancybox, DOM window, shadowbox, but we highly recommend you to try VisualLighbox - Lighbox Alternative. VisualLighbox is packed with a dozen of beautiful skins, fantastic transition effects and free gallery generator software for Mac and Windows!

FREE TRIAL BUY NOW!

Top Features  See all features...Javascript Image Affect

  • Flickr & Photobucket support
  • jQuery plugin or Prototype extension
  • Floating and smooth cross-fade transition
  • Slideshow with autostart option
  • Windows & MAC version
  • XHTML compliant
  • Zoom effect with overlay shadow
  • Rounded corners of overlay window
  • Large images fit to browser window
  • A lot of nice gallery themes
  • Image rotating and hi-quality image scaling with anti-aliasing
  • Automatic thumbnail creation
  • Adding caption
  • Built-in FTP


How to Use  See all features...Javascript Photo Cropping

Step 1. Adding images to your own gallery.


From the Images menu, select Add images.... Browse to the location of the folder you'd like to add and select the images. You can also use Add images from folder... and Add images from Flickr options.

Add images from Flickr

Visual LightBox JS will now include these pictures. Or you can drag the images (folder) to the Visual LightBox window. The image is copied to your pictures folder and automatically added to your website gallery.

Add images

If you have included the photos that you do not wish to be in your web gallery, you can easily remove them. Select all images that you wish to remove from photo gallery, and select Delete images. from the Images menu. You can pick and choose pictures by holding the CTRL while clicking the pictures you like.

Step 2. Adding caption.

When you select an image you'll see the various information about it, such as:

    Caption - you can enter any comment or text about the image in the website photo gallery. When you add images from Flickr its name will appear in caption automatically. You're able to use some common html tags (such as: <b>, <i>, <u>, <span>, <a>, <img> and so on..) inside your caption to highlight some text or add links.

    Add HTML Code in Caption

    Path, Size - for each image, you will see the file name, full folder path; file size and date of last change.
Image info

Step 3 - Editing capabilities.

In this website gallery software you can easily rotate your pictures using "Rotate Left" and "Rotate Right" buttons.

Rotate picture

Right click on the picture and select "Edit images.." item to open the selected picture in your default graph editor. You can adjust the color of pictures, as well as fix red-eye and crop out unwanted parts of an image.

Step 4. Gallery properties.

Change the name of your album, the size and quality of your pictures with jQuery Thickbox Alternative. From the Gallery menu, select Properties or use "Edit Gallery Properties" button on the toolbar.

On the first tab of the Gallery Properties window you can change the name of your photo album and enable/disable the following properties: Slide Show, Auto play Slide Show, Zoom effect, Overlay Shadow. You can also set the Overlay shadow color and select the Engine you want to use (jQuery or Prototype + script.aculo.us).

On the second tab of the Gallery Properties window you can select the thumbnail you want to use, set the Thumbnails Resolution, Thumbnails Quality, Thumbnails Titles. Select Thumbnails Format (save in PNG or JPG format). Specify the Number of columns in you photo album and the Page color.

On the third tab of the Gallery Properties window you can select the template, Image resolution and Image quality of your pictures and change the Watermark.

You can set up the various sizes for exported images.

Control the quality of output PNG or JPEG format image by defining output "Image quality" and "Thumbnail quality" parameters (0%...100%).

Step 5 - Publishing of the jQuery Thickbox Alternative.

When you are ready to publish your website photo album online or to a local drive for testing you should go to "Gallery/Publish Gallery". Select the publishing method: publish to folder or publish to FTP server.


Publish to FTP

    publish to folder. To select a local location on your hard drive, just click the Browse folders button and choose a location. Then click Ok. You can also set "Open web page after publishing" option. publish to FTP server. The FTP Location Manager window enables you to define a number of connections for use when uploading your web site album to an FTP.

You are able to add a new FTP site by clicking "Edit" to the right of the "Publish to FTP server" drop down list. FTP Location Manager window will appear. Now type in a meaningful (this is not the actual hostname) name for your site and fill in the FTP details in the appropriate fields. You will have to type in your hostname, e.g. domain. The FTP port is normally located on port 21 thus this has been prefilled for you already. If your web site uses another port, you will have to enter it here.

Type in your username and password for the connection. If you do not fill in this information, Visual LightBox is unable to connect to your site and thus not able to upload your gallery to website. If this site enables anonymous connections, just type in anonymous as the username and your e-mail address as the password.

You might want to change the Directory as well if you need to have your uploaded images placed in e.g. "www/gallery/". You can specify it in the FTP Folder field on the Publish Gallery window.

Notice: Write the name of the folder where your website gallery will be placed on the server. Notice that you should specify this field; otherwise your website album will be uploaded into the root folder of your server!

Step 6. Save your photo gallery as project file.

When you exit jQuery Thickbox Alternative application, you'll be asked if you want to save your project. The project consists of the pictures you choose to put on your web photo gallery and all your settings. It's a good idea to save the project, because that will allow you to change the project in case you decide to do something different with future galleries. So click Yes, then enter a name for your project. To select the location of your project, just click the Browse folders button and choose a different location. Then click Save.

Step 7 - Add Visual LightBox inside your own page.

Visual LightBox generates a special code. You can paste it in any place on your page whereyou want to add image gallery.

    * Export your LightBox gallery using Visual LightBox app in any test folder on a local drive.
    * Open the generated index.html file in any text editor.
    * Copy all code for Visual LightBox from the HEAD and BODY tags and paste it on your page in the HEAD tag and in the place where you want to have a gallery (inside the BODY tag).

<head>
...
  <!-- Start Visual LightBox.com HEAD section -->
   .....
  <!-- End Visual LightBox.com HEAD section -->
... </head>
<body>
...
  <!-- Start Visual LightBox.com BODY section -->
  .....
  <!-- End Visual LightBox.com BODY section -->
...</body>

    * You can easily change the style of the templates. Find the generated 'engine/css/vlightbox.css' file and open it in any text editor.

dhtml modal window on close Javascript Image Hack





Download Javascript Image Viewer   See all features...Javascript Image Change


Download Javascript Image Viewer Download Free Trial
for Windows
Download Javascript Image Viewer Download Free Trial
for MAC

Javascript Image Viewer Free Trial can be used for free for a period of 30 days.

If you would like to continue using this product after the trial period, you should purchase a Business Edition. The Business Edition additionally provides an option to remove the VisualLightBox.com credit line as well as a feature to put your own logo to images. After you complete the payment via the secure form, you will receive a license key instantly by email that turns the Free Trial Version into a Business one. You can select the most suitable payment option: PayPal, credit card, bank transfer, check etc.

java script popup in new explorer

Buy Javascript Image Viewer Buy Business Edition
for Windows

$49
Single Website
$69
Unlimited Websites
Buy Javascript Image Viewer Buy Business Edition
for MAC

$49
Single Website
$69
Unlimited Websites








Support  See all features...Wordpress Image Header Rotator Dissolve

For troubleshooting, feature requests and general help contact Customer Support at . Make sure to include details on your operating system, browser, Visual LightBox version and a link (or relevant code).ajax dhtml code pop up window



Feedback  See all features...Image Enlarge Jquery

    * First of all, your product is fantasitc. I looked at the others and your code generator app was insanely easy to use.

    * Just a quick thank you for the software though, It's not often you get a free software version of this quality and style! Well done and please continue this amazing gallery. Hope to see more advances.

    * Just bought the business version of Visual LightBox and I just had to write and say how impressed I am with it. Really easy to use, intuitive interface and generates a truly professional presentation. Seldom have I been so pleased with a software purchase. Thank you.open popup on click position javascript

    * I find jQuery Thickbox Alternative (and lightbox2) a great tool and was about to proceed in its purchase.

FAQ  See all features...Javascript Image File Size

Q:Instead of making one page with 40 photos, is there no property to make 2 or more pages?

A:You can do it in the following way:

1. Create your gallery in Light Box Alternative and publish it on a local drive in any test folder.
2. Make two copies of the generated index.html file (for example index1.html and index2.html).
3. Open index.html, index1.html and index2.html files in any text editor.
4. Find code for the gallery inside the BODY tag and cut some part of the images, so you'll have different images on each page.

<!-- Start Light Box Alternative.com BODY section -->
<div class="gallery">
<!-- leave the following code on index.html page -->
<a href="./data/images/1.jpg" rel="lightbox[sample]" title="Best Toy Ever"><img src="./data/thumbnails/1.png" /></a>
<a href="./data/images/8.jpg" rel="lightbox[sample]" title="PrueaMacro"><img src="./data/thumbnails/8.png" /></a>

<!-- leave the following code on index1.html page -->
<a href="./data/images/3.jpg" rel="lightbox[sample]" title="Macro Leaf."><img src="./data/thumbnails/3.png" /></a>
<a href="./data/images/11.jpg" rel="lightbox[sample]" title="Bell Pepper"><img src="./data/thumbnails/11.png" /></a>

<!-- leave the following code on index2.html page -->
<a href="./data/images/5_0.jpg" rel="lightbox[sample]" title="5"><img src="./data/thumbnails/5_0.png" /></a>
<a href="./data/images/6_0.jpg" rel="lightbox[sample]" title="6"><img src="./data/thumbnails/6_0.png" /></a>

<!--[if lte IE 6]><script src="engine/js/pngfix_vlb.js" type="text/javascript"></script><![endif]-->
<a id="vlightbox" href="http://Light Box Alternative.com/">Online Photo Album Sharing by Light Box Alternative.com</a>
</div>
<!-- End Light Box Alternative.com BODY section -->

5. Create links to switch between your pages, for example:
<a href="index.html">1</a>  <a href="index1.html">2</a>  <a href="index2.html">3</a> 


Q:I want to change color of the overlay shadow? How can I do this?

A:Open engine\css\Light Box Alternative.css and find the following code:

#overlay{
position: absolute;
top: 0;
left: 0;
z-index: 90;
width: 100%;
height: 500px;
background-color: #FFF;
filter:alpha(opacity=60);
-moz-opacity: 0.6;
opacity: 0.6;
}

set the background-color parameter :

#overlay{
position: absolute;
top: 0;
left: 0;
z-index: 90;
width: 100%;
height: 500px;
background-color: #FF00FF;
filter:alpha(opacity=60);
-moz-opacity: 0.6;
opacity: 0.6;
}