You are seeing this very light version of the page, as you are using an outdated
browser!
Onlinetools.org is done in XHTML 1.0 and supports CSS 2.0, please upgrade your
browser if you want a better version of this site.
Thank you, please help us developers keep up with the industry rather than patching our code for outdated applications.
EasyThumbs is a customisable script to generate the HTML for thumbnail-galleries. Simply drop your images and thumbnails in a folder and write an HTML template for the gallery and the image display page,or use the sample templates. EasyGallery creates all the HTML pages needed to navigate through you gallery.
EasyThumbs generates a fully navigational thumbnail gallery from some images and their thumbnails. You define the look and feel and the functionality in a template.
The whole script is template and comment driven so you do not need to know PHP at all to use it.
EasyThumbs allows you to define how many thumbnails in each row and how many per page to display and generates the links to navigate back and forth through these pages. Furthermore there is a display page for each image, that links to the next and previous images or back to the thumbnail page.
EasyThumbs generates flat HTML files that do not need the script itself to work, when you add new images, simply re-create the HTML files by calling EasyThumbs in your browser.
Create a new folder on your server, set the file permissions to Read/Write all (chmod 777 or chmod 666).
If wanted, create a folder for your images (if you want to use the demo template call this folder "pics").
Copy all the images and thumbnails in this folder, or create an own folder for the thumbnails and copy them seperately (if you want to use the demo template, call your thumbnails tn_image.jpg).
Copy the two HTML templates and easythumbs.php into the main folder.
Rename easythumbs.php to any other name.php, to avoid surfers regenerating your pages over and over again, thus flooding your server.
To use EasyThumbs, simply change the templates. They both come with extensive explanations in comments.
easythumbs_template.html
Is the gallery template, add/change the following comments to set the variables
Mandatory settings:
Additional settings:
Anything in between <!-- start:back -->and <!-- end:back --> will be displayed as the link to the previous page, the word %previous% in there will be replaced with the html filename to the previous page (to use in an href).
"first", "last" and "next" work the same way.
Anything in between <!-- start:image -->and <!-- end:image --> will be displayed for each image. %imagecounter% will be the number needed to link to the correct big image and %pic% is the name of the image itself.
If needed, add your image folder name to the src in the image. In any case, add the thumbnail prefix.
EasyThumbs will be replaced with the name of the image (underscores and file extension get replaced with spaces to allow wrapping).
If this sounds too complicated, check the template and you will see how it works.
%branding% will be replaced by a line saying that this was created with EasyThumbs, please add this to your templates as well.
easythumbs_bigtemplate.html
Is the image template, add/change the following comments:
Anything in between <!-- start:image -->and <!-- end:image --> will be displayed as the image.