IP Finder:
[img]http://plaxon.comyr.com/ip_finder.php[/img]
[Shared by WindowsExplorer]
Date Finder:
[img]http://plaxon.comyr.com/date_finder.php[/img]
[Shared by wulfmaster
Custom Text [+]:
[img]http://plaxon.comyr.com/images/custom.php?text=Custom+Text[/img]
[Shared by WindowsExplorer]
Share your own below! (Easier if you base it off this template):
<?php
header("Content-type: image/png");
$string = "";
$im = imagecreatefrompng("http://plaxon.comyr.com/images/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);
?>Last edited by WindowsExplorer (2011-09-18 10:47:16)
Offline
I don't really get the URL finder. What good does it do?
Offline
WindowsExplorer wrote:
It isn't fully working. It currently only tells the image url.
Let me see :PuppyEyeFace:
Offline
Update! Add the following code to the custom image url:
&size=
Set it 1 or 0 for default.
Offline
<?php
header("Content-type: image/png");
$url = (!empty($_SERVER['HTTPS'])) ? “https://”.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : “http://”.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
$string = "You are viewing " . $string;
$im = imagecreatefrompng("http://plaxon.comyr.com/images/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);
?>Should work, haven't tested it cause of certain circumstances.
Offline
Offline
ImagineIt wrote:
What does custom text do?
You get to have an image with any text in it you want.
Offline
kayybee wrote:
ProgrammingFreak wrote:
ImagineIt wrote:
What does custom text do?
You get to have an image with any text in it you want.
![]()
So it's sort of like a banner maker, or a status updater... Cool.
Exactly.
Offline
Later I will be adding a backround image tag
I already added a new &size= tag
Offline
WindowsExplorer wrote:
Later I will be adding a backround image tag
I already added a new &size= tag
![]()
Hi, I have been searching for some ideas, for a project like this. Have you designed the input system yet. I was looking at the ui libraries for adding multiple (dragable) rows of text, and to be able to change the font size, colour and family.
Pete
Offline
PeteinSpain wrote:
WindowsExplorer wrote:
Later I will be adding a backround image tag
I already added a new &size= tag
![]()
Hi, I have been searching for some ideas, for a project like this. Have you designed the input system yet. I was looking at the ui libraries for adding multiple (dragable) rows of text, and to be able to change the font size, colour and family.
Pete
Check out this I-topic. It basically this, but fully working and completely open source
Offline