Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vhanded
Copy link

@vhanded vhanded commented Apr 25, 2014

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
Copy link
Owner

cantino commented Apr 25, 2014

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

@vhanded
Copy link
Author

vhanded commented Apr 28, 2014

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