Hacker News new | ask | show | jobs
by tjlivesey 5338 days ago
A few different ways, it will favour the open graph image or meta 'image_src" tags if there are any. If not, it will take all the image tags on the page and then decide what's relevant based on the correct size and position on the page which is usually fairly accurate.
1 comments

Nice job!
Cheers :)