performance issue found

found the performance issue: the thumbnail generation for images seems
not to be working correctly