Skip to content

Generate thumbnails automaticly, display big image on mouse over, generate html for every picture in folder

Notifications You must be signed in to change notification settings

DennisdeBest/ThumbsJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add the script to your page, make sure the page contains 2 divs with the id #thumbnails and #largeImg. Also set the 2 php session variables for the width of the thumbnails and the name of the folder where your large images go (the folder will be created automatically whenthe script is first run).

All you have to do after is add any images you like to the newly created folder and the script will generate the correspondig thumbnail folder and thumbnails and add them to the page.

The thumbnails will be displayed in the #miniatures with the class .thumbnail and the id mini_[i].

Make sure your server has the rights to write to the img folder in oreder to be able to generate the thumbnails

Images can be either jpeg, gif or png

About

Generate thumbnails automaticly, display big image on mouse over, generate html for every picture in folder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published