Image Pop Up Class 1.0

Image Pop Up Class is designed to ease the publication of images in html webpages that uses PHP.

Functions of Image Pop Up Class:
- With this class you can insert pictures in your web pages in one line (simlar to tags).
- The class automatically creates a link to the original image using javascript (displaying the selected picture in a new window with the size of the image) and presents a thumbnail in your page.
- THIS CLASS DOES NOT NEED GD LIBRARY TO WORK, but if you have GD Library 2.0 or later installed it's possible to use the class to create thumbnails on the fly. The detection of the GD library is AUTOMATIC.
- When GD Library 2.0 or later is not available, the image type is not supported by GD Library or simply when you want to decrease the execution time of your scripts, the class uses the original image as thumbnail and link, modifying its size on the IMGtag.
- To protect your pictures, you can set up this class to use the images as CSS backgrounds of DIVtags that are creates automatically. In effect, a 100% transparent gif image (null.gif) is used to mask your DIVtag as an image, so visitors will save empty images on their disks.

Files:
- imgpopup.class.php, containing the class definition.
- imgpopup.php, for output the Pop Up Window Content.
- img.php, for output the GD based Thumbnails.
- imgpopup.js, JavaScript file containing de ImgPopUp Function.
- null.gif, Transparent GIF used to mask image contents.

Extras:
- test.php, examples and information about the use of the class.
- misola.jpg, picture used in test.php

License type: Free for non-commercial purposes.
Date added: 9 years, 2 months 18 days ago | Last updated: 9 years, 2 months 18 days ago

More popular Image Handling

This is actually one of the most advanced image hosting script. The imagetize key features: SEO, Ads Ready, Admin

Listing Files

image-pop-up-class
  • img.php
  • 139 Bytes
  • 10/03/2005 04:56:26
Hot Scripts
Sponsors