don't show image column if data has no images in table layout