|
|
|
|
#1 |
|
Junior Member
Join Date: Mar 2003
Posts: 23
|
now playing script!
I wanna change the following script i got off someone here to show all info/strings on one line in the display and not under each other and i have tried everything i can think of to position it this was but with no luck can anyone help?
this is the section giving me grief: // positioning below $px = (imagesx($im)-5*strlen($string1))/2; ImageString($im,1,$px,5,$string1,$text_color1); // (image,font (from 1 to 5),starting x position, y position,line of text,color) $px = (imagesx($im)-5*strlen($string2))/2; ImageString($im,1,$px,20,$string2,$text_color2); $px = (imagesx($im)-5*strlen($string3))/2; ImageString($im,1,$px,30,$string3,$text_color2); $px = (imagesx($im)-5*strlen($string4))/2; ImageString($im,1,$px,45,$string4,$text_color1); ImagePng($im); thanks in advance for any help! |
|
|
|
|
|
#2 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,108
|
code: |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2003
Posts: 23
|
Thankyou so much that is spot on
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|