Skip to content

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

Open
vhanded wants to merge 2 commits into
cantino:masterfrom
vhanded:master
Open

get the largest image, and also grab image size from style attributes#73
vhanded wants to merge 2 commits into
cantino:masterfrom
vhanded:master

Conversation

@vhanded

@vhanded vhanded commented Apr 25, 2014

Copy link
Copy Markdown

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"

@cantino

cantino commented Apr 25, 2014

Copy link
Copy Markdown
Owner

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

@vhanded

vhanded commented Apr 28, 2014

Copy link
Copy Markdown
Author

Sure, in a few days time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants