generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Character Headshot Images... EXPLAIN?

Previous Thread :: Next Thread 
AxFx is not online. AxFx
Joined: 14 Aug 2009
Total Posts: 518
17 Feb 2016 10:00 PM
Ok so I want to put a character headshot into my game. It USED to be as easy as just using this cookie cutter link and inserting a user ID here:

http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&username=ROBLOX <---

But, that's for a full body shot image. So I do some research and after about an hour I discover Web APIS found here:

Wasn't so sure how to use the headshot table json thing, but figured it out... and turns out it's stupid.

You take a link like this, put your user ID in it like I have done:
http://www.roblox.com/headshot-thumbnail/json?userId=4144654&width=180&height=180

And then it returns a URL, which if you copy and paste it into your browser, you get the headshot. COOL, but when I put it into a decal or something in ROBLOX... NOPE.

Am I just using this wrong or did they "accidentally" forget to test this?


Report Abuse
checkplate is not online. checkplate
Joined: 05 Jan 2016
Total Posts: 1379
17 Feb 2016 10:11 PM
Put the body shot into a image label and you can scale the image to 'zoom' in on the head.
Report Abuse
AxFx is not online. AxFx
Joined: 14 Aug 2009
Total Posts: 518
17 Feb 2016 10:27 PM
There's a big problem with that. Try it yourself and fit it into a gui while stacking it to other character images that happen to be either directly below or beside each other.

Does not work.

I did some more research and someone said it was depreciated... already? Either that or broken...

Which brings me to the point...... WHY? HA, but why bother asking when none of us know the answer and where a ROBLOX moderator would be very unlikely to respond to this post to explain either...


Report Abuse
XThane is not online. XThane
Joined: 08 Apr 2009
Total Posts: 2702
17 Feb 2016 10:30 PM
Put the image into a frame, make the frame have ClipsDescendants on, then zoom in on the head. That should work.

~ Who's awesome, you're awesome ~
Report Abuse
128Gigabytes is online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
17 Feb 2016 10:38 PM
http://forum.roblox.com/Forum/ShowPost.aspx?PostID=183810629
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
17 Feb 2016 11:48 PM
@128 You can't load images straight from the databases into a game :\
Report Abuse
128Gigabytes is online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
17 Feb 2016 11:54 PM
Yeah you can the link the person posted works.
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
17 Feb 2016 11:59 PM
You can load the image on your browser but not in game.
Report Abuse
128Gigabytes is online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
18 Feb 2016 12:00 AM
Not true, I tested it in studio. It worked.
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
18 Feb 2016 12:02 AM
Really! which links are you trying? None of these links work
http://www.roblox.com/headshot-thumbnail/json?userId=1&width=180&height=180

http://t2.rbxcdn.com/86737c5002424ffdfd16f91b1869ae90

Report Abuse
128Gigabytes is online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
18 Feb 2016 12:05 AM
The second one should work.
I tested it when the guy posted it. I'm on my phone right now.
Report Abuse
AxFx is not online. AxFx
Joined: 14 Aug 2009
Total Posts: 518
20 Feb 2016 03:27 PM
Yea I have no clue how you got that to work, I've tried both the .json link that gives you the working image, and the link that holds the .json.

Doesn't work, but I want to see or know what you did to get it to work.


Report Abuse
AxFx is not online. AxFx
Joined: 14 Aug 2009
Total Posts: 518
20 Feb 2016 03:32 PM
@XThane I like that idea, will be a great work around. But why would ROBLOX show on their Web APIs that it's possible for you to just grab the headshot images, but not actually let you do it...


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image