Login   Register  
PHP Classes
elePHPant
Icontem

Photo Show and Hide: Output page with dynamically expansible thumbnails

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Joseph Rubenstein
Name: Joseph Rubenstein <e-mail contact>
Packages: 1 Browse all classes by Joseph Rubenstein Browse all classes by
Country: China China - PHP jobs in China
Age: 43
All time rank: 156819 in China China
Week rank: 2079 Down26 in China China Down


  Detailed description   Download Download .zip .tar.gz  
The purpose of this package is to combine some CSS tricks and PHP code into a class that accomplishes the task of adding images into text blocks where the text flows around the image.

This can easily be accomplished with CSS and PHP, but this class can not only embed the thumbnail but to make it expandable, to reflow the text and to do this without having to reload the page

It can accomodate more than one image in the same page by the means of dynamically generating div tags with unique id attributes.

The class can generate HTML code with mouseover event attributes to make the larger image appear inline as an object on the page.

This generated HTML relies heavily on CSS and a little on a Javascript trick to show and hide div tags by id.

You can specify file path, file name and type, and also request a float left or right, AND set the size of each thumbnail.

  Classes of Joseph Rubenstein  >  Photo Show and Hide  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Photo Show and Hide
Base name: cphoto_showhide
Description: Output page with dynamically expansible thumbnails
Version: -
PHP version: -
License: GNU Free Documentation License (FDL)
All time users: 1612 users
All time rank: 2212
Week users: 0 users
Week rank: 1303 Equal
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image Graphics Colors, images, charts and picture formats View top rated classes


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (83.3%) Good (87.5%) - Good (87.5%) - - Not sure (59.2%) 935
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
CodeList Code Lister - view the files on one page.
Demo of Show Hide Here is a demo page.
Demo on real site we built... Mouse over photos to enlarge, click to shrink...

  Files folder image Files  
File Role Description
Plain text file class_photoinclude.php Class Photo Show/Hide Class File
Accessible without login Plain text file demo_photoinclude.php Example A demo page with instructions
Accessible without login Plain text file photo_include.css Data The CSS to include

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