3 ms·
I entered me@thomashunter.name, it pulled my gravatar, then asked me if I meant me@thomashunter.me. Not sure why it didn't like the .name TLD. The tooltip floa
by renownedmedia 14y ago
I entered me@thomashunter.name, it pulled my gravatar, then asked me if I meant me@thomashunter.me. Not sure why it didn't like the .name TLD.
The tooltip floated over the password box and was kinda annoying.
- ajanuary 14y agoIt would probably be a good idea to assume any email with a gravatar is correct.
- eli 14y agoDoes gravatar even give you that information back? I assumed the browser requested the image directly from them.
- StavrosK 14y agoIt gives you a 404 if the image doesn't exist, so you can use that. It's all in JS, anyway, so the gosquared server does't need to know any of this.
- simontabor 14y agoWe've got it so that the image 404's and we listen to the image error event to fade the G in or out.
- eli 14y agoNeat, good idea.
- renownedmedia 14y agoYou can specify a default image URI, and possibly look at the pixels of the returned image to see if it is the specified default.
- pc86 14y agoLook at the pixels?
- kevincennis 14y agocanvas + getImageData
- eli 14y agoYou sure about that? I thought canvas enforced a same-origin policy
- kevincennis 14y agoAh, right. Good point.