Generate HTML Table with thumbnails from jpg images

Creates an html table that contains the thumbnails (and links) of the jpg images of a whole director
4.1K Downloads
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
directory.

ARGUMENTS:
- 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.

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

----------------------------------------
Theodoros Giannakopoulos
Dep. of Informatics and Telecommunications
University of Athens
http://www.di.uoa.gr/~tyiannak

Cite As

Theodoros Giannakopoulos (2024). Generate HTML Table with thumbnails from jpg images (https://www.mathworks.com/matlabcentral/fileexchange/18687-generate-html-table-with-thumbnails-from-jpg-images), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on MATLAB Report Generator in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0