user profile picture

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

grhwood
Posts: 116
Joined: 15 Mar 2011, 04:43

user profile picture

Postby grhwood » 27 May 2014, 10:04

Hi,

I have a game that user can upload his/her profile picture and show it to other user when ingame.

I wonder if it is a good idea to send user picture byte[] with sfs response.

Thanks.
User avatar
Lapo
Site Admin
Posts: 21723
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: user profile picture

Postby Lapo » 27 May 2014, 14:34

In general I'd say yes.
I'd suggest another option only if you had to transfer many images per user and work with a very busy server (e.g. 10K+ CCU)
In that case it might be better to delegate the image transfer to a separate HTTP call and use an HTTP server.

cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: DerikFent, Google [Bot], JerodSa, Kevengar and 21 guests