Add image thumbnail method for ImageItem class