how to inert thumb image to line

if the mouse on that line it show image.

for example in the line name is their . if my pointer on that name his photo show