Added possibility to indicate width and height of thumbnails images to speed up display