Create your own auto updating images! So far, I am working on tags like IP address, and todays date. You can create your own at http://tiny.cc/image-maker! The tags are currently not working though. Here's the code for the image part, and if you can help I would really appreciate that!
<?php
header("Content-type: image/png");
$d = date('D');
$m = date('M');
$D = date('d');
$y = date('y');
$date = "$d the $D of $m, 20$y";
$ip = $_SERVER['REMOTE_ADDR'];
$string = " " . $_GET['text'];
$im = imagecreatefrompng("http://plaxon.comyr.com/images/ex_button.png");
$color = imagecolorallocate($im, 88, 88, 88);
$px = (imagesx($im) - 7.5 * strlen($string)) / 2;
$py = 9;
$fontSize = 5;
imagestring($im, fontSize, $px, $py, $string, $color);
imagepng($im);
imagedestroy($im);
?>Here is an example:
Code:
[img]http://plaxon.comyr.com/images/custom.php?text=This+is+just+an+example![/img]
Help Links:
Tags
Last edited by WindowsExplorer (2011-09-18 04:58:12)
Offline
Hmm... I don't know much php...
Offline
Tags:
Space: + / %20
IP: Coming
Todays Date: Coming
Last edited by WindowsExplorer (2011-09-18 10:10:39)
Offline
is it possible to insert spark's online/offline api into this images with other text?
Offline
nathanprocks wrote:
is it possible to insert spark's online/offline api into this images with other text?
I don't understand what you mean. Explain?
Offline
wulfmaster wrote:
nathanprocks wrote:
is it possible to insert spark's online/offline api into this images with other text?
I don't understand what you mean. Explain?
Check the ITopic list here.
Offline
wulfmaster wrote:
nathanprocks wrote:
is it possible to insert spark's online/offline api into this images with other text?
I don't understand what you mean. Explain?
look at my sig... would it be possible to insert the online/offline checker as a tag in the auto-updating image
Offline
nathanprocks wrote:
wulfmaster wrote:
nathanprocks wrote:
is it possible to insert spark's online/offline api into this images with other text?
I don't understand what you mean. Explain?
look at my sig... would it be possible to insert the online/offline checker as a tag in the auto-updating image
That would be incredibly easy!
what would you like it to look like?
Offline
wulfmaster wrote:
nathanprocks wrote:
wulfmaster wrote:
I don't understand what you mean. Explain?look at my sig... would it be possible to insert the online/offline checker as a tag in the auto-updating image
That would be incredibly easy!
![]()
what would you like it to look like?
yeah... i want it like in my sig but with the blue box around it
Offline
Oh, OK!
Offline
nathanprocks wrote:
wulfmaster wrote:
nathanprocks wrote:
look at my sig... would it be possible to insert the online/offline checker as a tag in the auto-updating imageThat would be incredibly easy!
![]()
what would you like it to look like?yeah... i want it like in my sig but with the blue box around it
You just need to host the blue box and use the bgimage (or whatever) attribute. XD
Offline
scimonster wrote:
nathanprocks wrote:
wulfmaster wrote:
That would be incredibly easy!![]()
what would you like it to look like?yeah... i want it like in my sig but with the blue box around it
You just need to host the blue box and use the bgimage (or whatever) attribute. XD
Or you can be a simpleton like me, and simply make two blue box images!
Offline