Author Topic: Delegates Post Your Robot With your Name  (Read 9096 times)

0 Members and 1 Guest are viewing this topic.

Offline Moroz

  • Newbie
  • *
  • Posts: 10
    • View Profile
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}}

Offline svk

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

Offline Moroz

  • Newbie
  • *
  • Posts: 10
    • View Profile
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.
« Last Edit: July 30, 2014, 03:54:25 pm by Moroz »

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
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:

Code: [Select]
<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

Offline svk

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:

Code: [Select]
<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

Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
http://pickaface.net/explore_avatar/ <-- might be worth hiring someone or paying to get these types of avatars.

Offline svk

delegate.svk31: delegate2.svk31: delegate3.svk31:
« Last Edit: July 30, 2014, 11:13:02 am by svk »
Worker: dev.bitsharesblocks

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani



        liondani



PS But I don't see them on my win gui client yet  :(

Offline gamey

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile
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.

Offline muse-umum

  • Hero Member
  • *****
  • Posts: 717
  • BitShares everything
    • View Profile
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.
« Last Edit: July 26, 2014, 02:45:15 am by heyD »

sumantso

  • Guest


    sumantso

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

Offline bytemaster

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: http://bytemaster.bitshares.org
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

  • Guest
thirtyeightptswarrior,



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

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
This feature is so fucking awesome ... well done BM!!

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
>>> approve bitcoiners