fix display thumbnails function
Added arguments to retrieve correct image
1.1.2