changes location thumb image tag to only show if thumb exists