changes location thumb image tag to only show if thumb exists

only show the image tag if it exists