| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Dynamic images; how are they done?!?!? | |
|---|---|
| Tweet Topic Started: Apr 16 2005, 10:49 AM (304 Views) | |
| solinent | Apr 16 2005, 10:49 AM Post #1 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
well I cant' figure out how to make a dynamic image, only a dynamic table that has alot of html code in it :S. How is text actualy put into the image, because this is supposed to go into a signature, so that it displays peopleses stats and when their stats change, then the image changes. Eg. I go to the game RuneScape, then my stats increase. The image that shows the stats will also increase. What I know: How to retrieve their stats via file() (in php) and return it as TEXT. What I need to know: how to return it as part of an image. |
![]() |
|
| Seth | Apr 16 2005, 05:23 PM Post #2 |
|
I has a pony
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
You use the gd library functions. http://us2.php.net/gd |
![]() |
|
| Jeremy | Apr 16 2005, 09:32 PM Post #3 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Here's something I've been wanting to know (mainly because I haven't bothered to try it myself) ... If you .htaccess and change the mime-types of files to read certain extensions as PHP (since InvisionFree won't let you use .php as image extensions), if you have PHP return just text (HTML maybe) instead of an actual image, will it show up on the forums? :unsure: |
![]() |
|
| solinent | Apr 17 2005, 11:34 AM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
tyvm! I have no idea about what Jeremy is talking about though cause im pretty stupid when it comes to PHP lol but what I would do if I wanted to return it as text, would just put the image as a background of a table, then alter the table cells...but I dunno if you could create an image file with that. TYVM! YOU DONT KNOW HOW MUCH YOU HAVE HELPED ME LOL!
|
![]() |
|
| Seth | Apr 17 2005, 02:50 PM Post #5 |
|
I has a pony
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Jeremy, I have an .htaccess set up on http://status.sethkinast.com that parses JPG as PHP. Works fine in my sig on IPBs. |
![]() |
|
| Jeremy | Apr 17 2005, 05:07 PM Post #6 |
![]()
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I meant if you have the script itself return text instead of an image, would the text show up? |
![]() |
|
| solinent | Apr 18 2005, 04:51 PM Post #7 |
|
Member
![]() ![]() ![]() ![]() ![]()
|
I very much doubt it..Why don't you test it out? |
![]() |
|
| 2 users reading this topic (2 Guests and 0 Anonymous) | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
4:03 PM Jul 11
|



![]](../../../../0/1/0/p601690/pipright.png)




but what I would do if I wanted to return it as text, would just put the image as a background of a table, then alter the table cells...but I dunno if you could create an image file with that. TYVM! YOU DONT KNOW HOW MUCH YOU HAVE HELPED ME LOL!
4:03 PM Jul 11