mirror of
https://github.com/e1ven/Robohash.git
synced 2025-06-23 21:35:02 +00:00
template
This commit is contained in:
parent
f8cc9ef55a
commit
377d14b1a4
@ -546,8 +546,9 @@ src="//static1.robohash.org/static/img/indented_star.png" width="27" height="25"
|
||||
Put either the email, or the hashed version, in your image where the string normally goes -<br><br>
|
||||
For example: http://robohash.org/colin@robohash.org?gravatar=yes<br> or http://robohash.org/620050a4db5104bae758cd75171d64ca?gravatar=hashed
|
||||
</p><p>
|
||||
<p>Both traditional and new Stealthy (https) robots are available.</p>
|
||||
|
||||
<p>Both traditional and new Stealthy (https) robots are available.</p>
|
||||
<p>Finally, the <a href="http://github.com/e1ven/Robohash">Blueprints are available</a> to build your own robotic
|
||||
factory.</p>
|
||||
</p>
|
||||
|
||||
</div><!-- end of content section -->
|
||||
|
@ -278,7 +278,7 @@ class ImgHandler(tornado.web.RequestHandler):
|
||||
string = urllib.quote(string)
|
||||
default = "404"
|
||||
# construct the url
|
||||
gravatar_url = self.request.protocol + "://www.gravatar.com/avatar/" + string + "?"
|
||||
gravatar_url = "http://www.gravatar.com/avatar/" + string + "?"
|
||||
gravatar_url += urllib.urlencode({'default':default, 'size':str(sizey)})
|
||||
try:
|
||||
f = urllib2.urlopen(urllib2.Request(gravatar_url))
|
||||
|
Loading…
x
Reference in New Issue
Block a user