gottfrois / link_thumbnailer

Ruby gem that fetches images and metadata from a given URL. Much like popular social website with link preview.
MIT License
512 stars 106 forks source link

Not generating correct image src #123

Closed naiyyar closed 4 years ago

naiyyar commented 7 years ago

When trying to generate images for this url http://etiquettable.eco2initiative.com/ It's Not giving correct image src. not event showing image thumbnail. I checked here too http://link-thumbnailer-demo.herokuapp.com/

Thanks

gottfrois commented 4 years ago

Seems to work now with v3.4.0:

2.6.6 :007 > r = LinkThumbnailer.generate('http://etiquettable.eco2initiative.com/');nil
r.images.first.s => nil
2.6.6 :008 > r.images.first.src
 => "https://etiquettable.eco2initiative.com/wp-content/uploads/2017/01/Etiquettable_mockup-iphone-01web.jpg"
2.6.6 :009 > r.images.first.size
 => [2000, 1250]