Looking at a user's profile page (http://example.com/user/6), Gravatar shows a broken image.
View source shows me an img src of:
http://www.lea-sl.org/sites/default/files/styles/thumbnail/http/www.gravatar.com/avatar/9a9448e47d947a385db1963ea8fdd6f5.jpg%3Fd%3Dhttp%253A//www.lea-sl.org/sites/default/files/AnonymousPicture.gif%26s%3D100%26r%3DPG
Clearly this can't be right. :-)
I don't have the time at the moment to isolate and see if it's some other module having fun at my expense, but I'm wondering if anyone else has run into this.
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | gravatar-image_url_munged_when_pic_display_style_selected-1689850-19.patch | 763 bytes | deggertsen |
Comments
Comment #1
verscienta commentedThat is exactly what has happened to me. I can't quite figure out what the problem is. Using Drupal 7.15.
Comment #2
verscienta commentedComment #3
vacilando commentedSame here, even in the current dev version.
Comment #4
mile23Comment #5
vacilando commentedOK, you need to go to /admin/config/people/accounts and "Picture display style" from "thumbnail" (or whatever style) to "".
Then go to the user account in question and re-save it to get your Gravatar to display.
Comment #6
mile23Not sure I'd call that a fix, though it could be a workaround if you don't care about applying image styles to profile pics.
Comment #7
deggertsen commentedYeah, I personally want image styles for my profile pics. Has anybody come up with an actual solution to this one?
Comment #8
deggertsen commentedRelated issue #334630: Cache gravatar images locally
Comment #9
acouch commentedAttached is a patch. This keeps the module from trying to use image_style if there is no user pic, which is what screws up the image.
Comment #10.0
(not verified) commentedForgot to mark URL as code.
Comment #11
andreymaximov commented#9 Patch has error fixed here.
Code leads to $style taking incorrect value.
Comment #12
andreymaximov commentedComment #14
andreymaximov commented11: gravatar-image_url_munged_when_pic_display_style_selected-1689850-11.patch queued for re-testing.
Comment #16
andypostNice catch!
Comment #17
acouch commentedAttached is a patch that makes sure that the account picture exists before asking for it. This fixes an error that occurred while adding a new user.
Comment #19
deggertsen commentedPatch wouldn't apply to dev. Here's a new patch that does.
Comment #21
deggertsen commentedIs something wrong with the test bot? I swear I applied the patch to the correct dev...
Comment #22
mile2319: gravatar-image_url_munged_when_pic_display_style_selected-1689850-19.patch queued for re-testing.
Comment #24
mile23The error is: Output: [ERROR: No valid tests were specified.].
Filing this issue: #2218283: gravatar.test missing from .info file