File Exchange

image thumbnail

Generate HTML Table with thumbnails from jpg images

version 1.0.0.0 (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
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 (2020). 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 .

Comments and Ratings (0)

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