File Exchange

image thumbnail

Generate HTML Table with thumbnails from jpg images

version (2.74 KB) by Theodoros Giannakopoulos
Creates an html table that contains the thumbnails (and links) of the jpg images of a whole director

1 Download

Updated 11 Feb 2008

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This function generates an html file that contains a table with
thumbnails (and respective links) of the images stored in a provided

- Dir: the directory name in which the images are stored
- HtmlName: the name of the html file to be generated
- TSize: The size (in pixels) of the thumbnails images to be generated (the largest of the two dimensions (width or height), depending on the image orientation
- imagesPerRow: The number of thumbnails per row in the html page.

>> createThumbnailTable('images', 'examples.html', 180, 5);

Theodoros Giannakopoulos
Dep. of Informatics and Telecommunications
University of Athens

Cite As

Theodoros Giannakopoulos (2021). Generate HTML Table with thumbnails from jpg images (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!