This image shows the results of running the imagegallery script. As you can see the script automatically creates thumbnails (using QImage::smoothScale() for quality) and includes image descriptions if present. The descriptions can include HTML markup like this, and even links.