Be the first to rate this file! 95 downloads (last 30 days) File Size: 2.74 KB File ID: #18687

Generate HTML Table with thumbnails from jpg images

by Theodoros Giannakopoulos

 

10 Feb 2008 (Updated 11 Feb 2008)

Code covered by BSD License  

Creates an html table that contains the thumbnails (and links) of the jpg images of a whole director

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

Download Now | Watch this File

File Information
Description

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

MATLAB release MATLAB 7.5 (R2007b)
Zip File Content  
Other Files createThumbnailTable.m,
resizeJPG.m,
resizeImageDir.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image thumbnails Theodoros Giannakopoulos 22 Oct 2008 09:47:15
html Theodoros Giannakopoulos 22 Oct 2008 09:47:15
table Theodoros Giannakopoulos 22 Oct 2008 09:47:15
image processing Theodoros Giannakopoulos 22 Oct 2008 09:47:15
utility Theodoros Giannakopoulos 22 Oct 2008 09:47:15
thumbs Theodoros Giannakopoulos 22 Oct 2008 09:47:15
potw Cristina McIntire 07 Nov 2008 13:01:49
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com