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

You are now following this Submission

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 (2026). 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 .

Categories

Find more on MATLAB Report Generator in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0