Login   Register  
PHP Classes
elePHPant
Icontem

Class: ImageArchive

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Thomas W-P  >  ImageArchive  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: ImageArchive
Base name: imagearchive
Description: Browse directories with images to zoom or rotate
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 2765 users
All time rank: 1103
Week users: 1 user
Week rank: 2467
Picture of Thomas W-P
Author: Thomas W-P <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 43
All time rank: 90044 in United Kingdom United Kingdom
Week rank: 1634 Down70 in United Kingdom United Kingdom Down


  Detailed description  
I keep all my digital photos and wanted a way to browse through them on my web server. Occasionally, I have forgotten to rotate an image, so I needed to be able to cope with that too.

This class enables you to look through a tree structure of images as thumbnails and then to zoom in to an individual image of your choice.

The zoomed image is created on the fly and can be a variety of sizes.

You need GD extension on the server, and JavaScript on the client.

There are a large number of options that can be set, but only four MUST be set for the class to work.

The class was tested on Apache under Windows and Linux, but does not contain any Apache-specific code. Let me know if you have success on other servers.

GOTCHAS - since posting a couple of things to bear in mind when using the class:

1) I use cookies to store your preference for maximum image dimension when clicking through a thumbnail. Therefore you MUST call the Go() function before any headers have been sent to the browser (i.e. before the <HTML> tag). Try running the class with no HTML at all - if that works you can then run it as a function that returns html code using Go(false).

2) Don't forget that the apache server will require permissions to write in the thumbnails directory.

 

  Groups  
Group folder image Graphics Colors, images, charts and picture formats View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes

  Freshmeat project   Rate classes User ratings   Applications   Related links   Files Files  

  Freshmeat project  
ImageArchive
Project record: imagearchive
Popularity score: 21.35
Vitality score: 1.0

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (91.7%)
Sufficient (79.2%)
-
Sufficient (70.8%)
-
-
Sufficient (60.8%)
752
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
ImageArchive demonstration Some pictures of my house in 1999 before works started to modernise it. This is total vanilla ImageArchive.Go() functionality.

  Files folder image Files  
File Role Description
Plain text file classImageArchive.php Class ImageArchive class
Plain text file imagearchive.php Example Simple script showing classImageArchive at work

Download all files: imagearchive.tar.gz imagearchive.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.