and as you can see from here http://www.extreme-hq.com/work/ the image is displayed, but the title isnt, and thats obviousally because my script dosnt know what $title is. Do i have to place my code is a special place? Do i have to have me code connect to the nuke database? or, How do i include this code in my block for it to work?
thanks.
spottedhog Captain
Joined: Apr 30, 2004
Posts: 562
Posted:
Fri Jun 02, 2006 5:09 am
Me thinks all you need to do is place $title in front of the closing img tag.
In the future, you might wish to move all the decorative code into the style.css file.....
// You can write the title into the image, passing it by GET
imagettftext($im, $size[1], 0, 15, 15, $color, $font, $_GET['title']);
imagepng($im);
imagedestroy($im);
?>
So,
1) You can try to pass "title" by GET.
2) You must call the blocks_01.php from an internal phpnuke file, so you can retrieve the "title" variable by add:
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum