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

Always generate width= and height= attributes #10

Closed
johan opened this issue Apr 12, 2012 · 1 comment
Closed

Always generate width= and height= attributes #10

johan opened this issue Apr 12, 2012 · 1 comment
Milestone

Comments

@johan
Copy link

johan commented Apr 12, 2012

Since browsers layout web pages faster when they don't have to wait for an image (or fifty) to come down the net pipe, and gravatar_image_tag always knows what sizes they will be, could you add the corresponding width/height attributes to the img tag, too?

Thanks!

@mdeering
Copy link
Owner

Pushed (1.1.0) with this on by default. Added configuration setting to turn it off to restore the old behaviour.

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

No branches or pull requests

2 participants