Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
0 user currently in Acmlmboard support?. |
Acmlm's Board - I2 Archive - Acmlmboard support? - Need Help With PHP Image | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
TheGreatWhiteDope Koopa Banned Level: 16 Posts: 59/108 EXP: 19462 For next: 794 Since: 01-05-05 Since last post: 8 days Last activity: 4 days |
| ||
EDIT- WTF, its all glitchy, I thought it was my layout so I removed it.... EDIT2- Fixed, ignore the bold... I was making a php image that when you type text in it prints it as an image (The same as numgfx except with letters and numbers), but I get this error: Warning imagecreate(): Invalid image dimensions in /home/romendob/public_html/board/test.php on line 10 Warning imagecopy(): supplied argument is not a valid Image resource in /home/romendob/public_html/board/test.php on line 11 Warning imagecolortransparent(): supplied argument is not a valid Image resource in /home/romendob/public_html/board/test.php on line 79 Warning imagepng(): supplied argument is not a valid Image resource in /home/romendob/public_html/board/test.php on line 80 Here is the code I used and here is the picture I used. Each character is 6 x 7. Please help me.. (edited by TheGreatWhiteDope on 09-15-05 03:08 PM) (edited by TheGreatWhiteDope on 09-15-05 03:09 PM) (edited by TheGreatWhiteDope on 09-15-05 03:22 PM) |
|||
Elric Chasupa Currently Playing: You Like A Lute. Level: 40 Posts: 539/687 EXP: 440016 For next: 1293 Since: 03-15-04 From: Melniboné Since last post: 6 hours Last activity: 6 hours |
| ||
Didn't I give you the code I used for my custom title at Googie's board? If not, I can give it to you to look over... Spoiler: I made them by editing numgfx.php. Unfortunatly, none of them support line breaks, as I don't know how to do that. |
|||
TheGreatWhiteDope Koopa Banned Level: 16 Posts: 60/108 EXP: 19462 For next: 794 Since: 01-05-05 Since last post: 8 days Last activity: 4 days |
| ||
Yeah, you gave it to me, I fixed it for you and then I deleted it and remade it from the other code today but it doesn't work... Can you give me one of your newer ones then? They seem to work fine, linebreaks should be defined as somthing like... $br="copyimage(blah blah blah)"; Except you need to have it down the images hieght * 2, it shouldn't be too hard, its just like the part that makes sure the spacing between each letter is right, except its a line space, but you may need to define it in the title as somthing like $br and add that to the if's. |
|||
Elric Chasupa Currently Playing: You Like A Lute. Level: 40 Posts: 542/687 EXP: 440016 For next: 1293 Since: 03-15-04 From: Melniboné Since last post: 6 hours Last activity: 6 hours |
| ||
OK, you just confused me. Me am not PHP smart. Which one did you want? |
|||
TheGreatWhiteDope Koopa Banned Level: 16 Posts: 61/108 EXP: 19462 For next: 794 Since: 01-05-05 Since last post: 8 days Last activity: 4 days |
| ||
Yeah, I need to work that better, like have text.php?d=text here $br (or whatever you want it set as) and now text after a line break. It can be done, except you would need to type $br for every line break. Can I have your FFT one since thats what my font is based of off. Its my own version of edited FFT, but Im just looking for a working code. |
|||
Elric Chasupa Currently Playing: You Like A Lute. Level: 40 Posts: 543/687 EXP: 440016 For next: 1293 Since: 03-15-04 From: Melniboné Since last post: 6 hours Last activity: 6 hours |
| ||
The whole $br thing is confusing me... Would I use text.php?n=text_here$br_new_line or text.php?n=text_here&br=new_line | |||
TheGreatWhiteDope Koopa Banned Level: 16 Posts: 62/108 EXP: 19462 For next: 794 Since: 01-05-05 Since last post: 8 days Last activity: 4 days |
| ||
It depends on how you set it up, but, not that I think about it, maybe you just need to have enter since it would count the others as single chars. Anyways, it STILL doesn't work which leads to one problem > my site. BUT, all of the numgfx work properly. I used you php images before and they worked fine a few motnhs ago but recently they havn't been working and nither have the Acmlm Board's status.php. My own codes work fine though such as my screenname.php and my new status.php, this is confusing as hell,could it be because we upgraded to php5? |
|||
Elric Chasupa Currently Playing: You Like A Lute. Level: 40 Posts: 545/687 EXP: 440016 For next: 1293 Since: 03-15-04 From: Melniboné Since last post: 6 hours Last activity: 6 hours |
| ||
Maybe. Are you getting the dreaded red X, or is it not showing all the text? If it's not showing all the text, it's because you need to use _ for spaces. No idea why... | |||
TheGreatWhiteDope Koopa Banned Level: 16 Posts: 64/108 EXP: 19462 For next: 794 Since: 01-05-05 Since last post: 8 days Last activity: 4 days |
| ||
Warning imagecreate(): Invalid image dimensions in /home/romendob/public_html/board/test.php on line 9 Warning imagecopy(): supplied argument is not a valid Image resource in /home/romendob/public_html/board/test.php on line 10 Warning imagepng(): supplied argument is not a valid Image resource in /home/romendob/public_html/board/test.php on line 94 |
|||
Elric Chasupa Currently Playing: You Like A Lute. Level: 40 Posts: 546/687 EXP: 440016 For next: 1293 Since: 03-15-04 From: Melniboné Since last post: 6 hours Last activity: 6 hours |
| ||
OK, are you using the image I included, or your own image? If it's your image, did you edit the file to match the image dimentions? | |||
TheGreatWhiteDope Koopa Banned Level: 16 Posts: 65/108 EXP: 19462 For next: 794 Since: 01-05-05 Since last post: 8 days Last activity: 4 days |
| ||
Its your file, I think I need to $define the dementions though, I think having it multiply in the imagecopy is messing it up??? I dont know... | |||
Elric Chasupa Currently Playing: You Like A Lute. Level: 40 Posts: 547/687 EXP: 440016 For next: 1293 Since: 03-15-04 From: Melniboné Since last post: 6 hours Last activity: 6 hours |
| ||
Well, if you didn't modify my file, and you put the image in your /numgfx/ dir, then it should work. It may very well be php5 then. There's another thread around here somewhere that says AcmlmBoard doesn't seem to work right with php5... | |||
TheGreatWhiteDope Koopa Banned Level: 16 Posts: 66/108 EXP: 19462 For next: 794 Since: 01-05-05 Since last post: 8 days Last activity: 4 days |
| ||
That shouldn't be the problem with the directory. I tried it on my funpic storage account too > same error. | |||
Elric Chasupa Currently Playing: You Like A Lute. Level: 40 Posts: 550/687 EXP: 440016 For next: 1293 Since: 03-15-04 From: Melniboné Since last post: 6 hours Last activity: 6 hours |
| ||
It's coded to look in /numgfx/... line 8 says: $gfx=ImageCreateFromPNG("numgfx/fft.png"); . The problem has to be either how you're calling the image, or your server, because as you can see from my first post, and now this post: You are doing it like this, right: < Otherwise, it probably won't work... |
|||
TheGreatWhiteDope Koopa Banned Level: 16 Posts: 67/108 EXP: 19462 For next: 794 Since: 01-05-05 Since last post: 8 days Last activity: 4 days |
| ||
Wow, I'm retarded, I was using d=blah. Thanks for helping me though. | |||
Elric Chasupa Currently Playing: You Like A Lute. Level: 40 Posts: 514/687 EXP: 440016 For next: 1293 Since: 03-15-04 From: Melniboné Since last post: 6 hours Last activity: 6 hours |
| ||
Hehehe! Probably becuase d is the var you used in your own code, so by habit, you used it with mine. I've done that plenty of times. Enjoy it! |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Acmlmboard support? - Need Help With PHP Image | | | |