Delegates Post Your Robot With your Name

Started by bytemaster, July 24, 2014, 06:12:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Moroz

Point taken.  ng-src should work better because it will do 1 HTTP request rather than 2.  So thanks.
However, src should still work, just a bit slower.

As a side note, you even get a response from the server:

https://robohash.org/{{bla.bla}}

svk

Quote from: Moroz on July 30, 2014, 03:52:23 PM
The {{expression}} gets evaluated even when it is inside of an attribute value.  So I don't see how ng-src would help.  Most likely Windows has an issue with images.
From the angularjs docs:

" Using Angular markup like {{hash}} in a src attribute doesn't work right: The browser will fetch from the URL with the literal text {{hash}} until Angular replaces the expression inside{{hash}}. The ngSrc directive solves this problem."

Worker: dev.bitsharesblocks

Moroz

#34
The {{expression}} gets evaluated even when it is inside of an attribute value.  So I don't see how ng-src would help.  Most likely Windows has an issue with images.

liondani

Quote from: svk on July 30, 2014, 11:19:28 AM
Quote from: bytemaster on July 25, 2014, 02:23:41 PM
Quote from: liondani on July 25, 2014, 02:21:07 PM
I can't see my Robot's  :(



It is being pulled from a 3rd party server... try right-click reload?

I think I know why this doesn't work, or at least I know why it doesn't work in the web wallet. There's a minor error in the angular code in this file:
https://github.com/BitShares/web_wallet/blob/master/app/templates/directory.html

At line 56:

<img src="https://robohash.org/{{r.name}}?size=40x40" height="40" width="40"/>


The "<img src=" tag should be replaced by "<img ng-src="

Without the "ng-src" the r.name value won't be interpolated.

I posted your answer on github  ;)

https://github.com/BitShares/web_wallet/issues/232
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

svk

Quote from: bytemaster on July 25, 2014, 02:23:41 PM
Quote from: liondani on July 25, 2014, 02:21:07 PM
I can't see my Robot's  :(



It is being pulled from a 3rd party server... try right-click reload?

I think I know why this doesn't work, or at least I know why it doesn't work in the web wallet. There's a minor error in the angular code in this file:
https://github.com/BitShares/web_wallet/blob/master/app/templates/directory.html

At line 56:

<img src="https://robohash.org/{{r.name}}?size=40x40" height="40" width="40"/>


The "<img src=" tag should be replaced by "<img ng-src="

Without the "ng-src" the r.name value won't be interpolated.
Worker: dev.bitsharesblocks

bitmeat

http://pickaface.net/explore_avatar/ <-- might be worth hiring someone or paying to get these types of avatars.

svk

#30
delegate.svk31: delegate2.svk31: delegate3.svk31:
Worker: dev.bitsharesblocks

liondani




        liondani



PS But I don't see them on my win gui client yet  :(
[url="https://www.steempeak.com/@liondani"]https://www.steempeak.com/@liondani[/url]

gamey

I wonder if this idea couldn't be done better with a series of real life pictures.  Like you choose 32  backgrounds of the world, then 128 famous people,  and about 128 objects, maybe mirror the person on the other side.  Something flying at the top of every picture.  You could get it up to 32 bits quite easily and have a unique image that would be memorable.

Although I suppose this is meant for slight variations on names, so it works...
I speak for myself and only myself.

muse-umum

#27
usd.bts500  cny.bts500   eur.bts500   dac.bts500

This is an awesome idea!! +5%  But why do the *.bts500 robots look so ugly ?  :o :o

My Win Gui can't display the images, reloading doesn't help.

sumantso



    sumantso

not a top 101 yet, though; and I don't like my robo :(

bytemaster

Quote from: xeroc on July 25, 2014, 06:53:29 PM
This feature is so fucking awesome ... well done BM!!

Nikita found robohash.com and I thought it was perfect for DACs :)
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

38PTSWarrior

thirtyeightptswarrior,



Yes the robots make it look like a computer game. You feel at home, cozy.. really really good!

xeroc

This feature is so fucking awesome ... well done BM!!

bitcoinerS

>>> approve bitcoiners