Page 1 of 1
Picture
Posted: Tue Jan 26, 2010 2:46 pm
by skacke
Hey!
I'm going to make a profile page to my game, and i was just wondering.
Is there any way that a player can upload a picture, so that everyone can see that picture in the players profile page?
Re: Picture
Posted: Tue Jan 26, 2010 7:35 pm
by Falken
Re: Picture
Posted: Tue Jan 26, 2010 8:46 pm
by Jackolantern
Just be sure that if you allow players to upload pictures that they have a way to report abuse and that you are able to handle it quickly. It is only a matter of time before someone thinks it would be funny (or in their best interest, if it is someone who runs another game) to post pornographic pictures as their avatar.
Re: Picture
Posted: Tue Jan 26, 2010 9:06 pm
by OldRod
Jackolantern wrote:Just be sure that if you allow players to upload pictures that they have a way to report abuse and that you are able to handle it quickly. It is only a matter of time before someone thinks it would be funny (or in their best interest, if it is someone who runs another game) to post pornographic pictures as their avatar.
Yes, someone
will do it - it's just a matter of time

Re: Picture
Posted: Tue Jan 26, 2010 9:40 pm
by skacke
yea, i will come up with something

But is there anyway to resize the image? Or just manipulate so that the image looks 160x160?
Re: Picture
Posted: Tue Jan 26, 2010 9:54 pm
by Jackolantern
I'm pretty sure GD2 has a way to do it, but I know for a fact
ImageMagick can do it. GD2 is included with PHP, and ImageMagick is another free image manipulation program with a PHP interface. Imagemagick has many effects that can be applied, with cropping and resizing being only two of them.
Re: Picture
Posted: Tue Jan 26, 2010 9:59 pm
by skacke
okay, thanks mate!
