Add facilities for reloading gravatar images in retina resolution.

Review Request #3482 — Created Nov. 8, 2012 and submitted — Latest diff uploaded

Information

Djblets
master

Reviewers

Add facilities for reloading gravatar images in retina resolution.

This adds a jQuery function which, when applied to an <img class="gravatar">
will parse the URL and reload it at the appropriate resolution for
high-resolution devices. This requires some javascript on the reviewboard side
as well, to call it in the relevant places.
Used this on my local install and saw it fetch a 64x64 image instead of a 32x32
one for the gravatar in the upper right corner of the page.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3
djblets/gravatars/templatetags/gravatars.py
djblets/media/js/jquery.gravy.js
Loading...