legohalflife2ma
12-13-2008, 12:52 AM
I've been pulling my hair out trying to do this, so I figured it was time for some help from the experts.
I am trying to create a PHP script that can generate an image with another image and some text in it that is selected from a database. Since this is quite hard to explain, I will use GamerCards as my example. If any of you have seen GamerCards before, you can see that they consist of one image that might have an avatar of some sort plus some other text that has been compiled into one image and is updated automatically.
Here is an example of a GamerCard that I made for Oblivion:
http://generalgamingplanet.com/img/admin/294983statcardtest.jpg
As you can see, the GamerCard-like image listed above contains a small image on the left that is chosen by the user when using the GamerCard generator coded in PHP. Also, you can see some other images and text placed in columns and rows throughout my example image above. Here are my biggest problems:
I need to develop a PHP script that allows a user to enter a URL for the image and enter some text for the other things listed in my GamerCard and, once the generator is submitted, have a new image created with all of the text compiled into one image.
I need it to be able to update automatically without creating a new URL when information in the database that is listed in the image is changed.
Please, I really need help here. If you do not understand what I am asking, feel free to ask me to elaborate on any of my points. I will very much appreciate any help that I get, and please ask me questions if you need to better understand my question. I don't mind taking it one step at a time to develop this script, I just want it developed, please. Thank you!
PS: If anyone can tell me how to use HTML in PHP arrays, that will help me just as much!
I am trying to create a PHP script that can generate an image with another image and some text in it that is selected from a database. Since this is quite hard to explain, I will use GamerCards as my example. If any of you have seen GamerCards before, you can see that they consist of one image that might have an avatar of some sort plus some other text that has been compiled into one image and is updated automatically.
Here is an example of a GamerCard that I made for Oblivion:
http://generalgamingplanet.com/img/admin/294983statcardtest.jpg
As you can see, the GamerCard-like image listed above contains a small image on the left that is chosen by the user when using the GamerCard generator coded in PHP. Also, you can see some other images and text placed in columns and rows throughout my example image above. Here are my biggest problems:
I need to develop a PHP script that allows a user to enter a URL for the image and enter some text for the other things listed in my GamerCard and, once the generator is submitted, have a new image created with all of the text compiled into one image.
I need it to be able to update automatically without creating a new URL when information in the database that is listed in the image is changed.
Please, I really need help here. If you do not understand what I am asking, feel free to ask me to elaborate on any of my points. I will very much appreciate any help that I get, and please ask me questions if you need to better understand my question. I don't mind taking it one step at a time to develop this script, I just want it developed, please. Thank you!
PS: If anyone can tell me how to use HTML in PHP arrays, that will help me just as much!