Image generator with text variables

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Shadowrider50
Forum Newbie
Posts: 5
Joined: Sat Jan 28, 2012 3:00 am

Image generator with text variables

Post by Shadowrider50 »

I am trying to make an image generator using php gd. To be more precise, a trophy card generator with all your stats and info from Playstation Network on it. You can see a sample of the stats by going to shadowrider50.tk and checking the first 3 boxes and entering Shadowrider50 in the psn id form.
These stats are pulled directly from sony's servers and stored in variables.

I'm wondering, how could i get these stats put onto an image automatically?

i would like the image to be generated using a preset background with the stats listed on it and the result automatically uploaded to my website(server) for anyone to use.
Also, one last thing i would like help with, could you introduce me to cron job so the image automatically get's updated with new stats every 24 hours? The stats that are produced change frequently so that is why i need updates every 24 hours.

To explain better, i want an auto updated gamercard generator like psnprofiles.com or yourgamercards.net
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Image generator with text variables

Post by Celauran »

GD is definitely the way to go. What have you tried so far? Where are you running into problems?
Shadowrider50
Forum Newbie
Posts: 5
Joined: Sat Jan 28, 2012 3:00 am

Re: Image generator with text variables

Post by Shadowrider50 »

Well, almost everytime i put a gd script onto my page it says this image contains errors
Post Reply