Very easy to do in fact. Put the thumbnails in divs or ps of the proper size, then float them left or right, left is usually best, in a container that re-sizes with the window. And of course, put the text at the bottom of each div by using a line break and maybe a paragraph. If you have any more problems I'll be glad to help.
Welcome to http://www.myphotowizard.net
where you can edit images, make a photo calendar, add text to images, and do much more.
When you know what you're doing it's called Engineering, when you don't know, it's called Research and Development. And you can always charge more for Research and Development.