ruby-readability icon indicating copy to clipboard operation
ruby-readability copied to clipboard

get the largest image, and also grab image size from style attributes

Open vhanded opened this issue 11 years ago • 2 comments

setting :get_largest_image => true will return only 1 largest image from .images()

check for image size from style attribute, if available, like: style="width:400px; height:300px"

vhanded avatar Apr 25 '14 08:04 vhanded

Thanks @vhanded! Would you mind adding a spec for this change?

cantino avatar Apr 25 '14 23:04 cantino

Sure, in a few days time!

vhanded avatar Apr 28 '14 07:04 vhanded