Detect first image in link

1. Bugs fixed
2. Detect img src=“link”