summary refs log tree commit diff stats
path: root/thumb.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-12-19 23:01:55 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-12-19 23:01:55 -0500
commit8920977261fb6c0fb5ad3e9be0bc07ff35b337cf (patch)
treef3fcd75e7e5b02c0152ac1f2c075e319f22be357 /thumb.php
parent31ac283c5bae32c91629fa36adf71572597f2cd5 (diff)
downloadfourisland-8920977261fb6c0fb5ad3e9be0bc07ff35b337cf.tar.gz
fourisland-8920977261fb6c0fb5ad3e9be0bc07ff35b337cf.tar.bz2
fourisland-8920977261fb6c0fb5ad3e9be0bc07ff35b337cf.zip
Added [thumb] BBCode
The [thumb] bbcode takes the content and creates a thumbnail of it. The thumbnail fits perfectly inside the post bubble and is wrapped with a link to
the original image.
Diffstat (limited to 'thumb.php')
-rwxr-xr-xthumb.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/thumb.php b/thumb.php index ba9c645..efd1f8f 100755 --- a/thumb.php +++ b/thumb.php
@@ -133,7 +133,7 @@ switch ($_GET['mode'])
133 } 133 }
134 default: 134 default:
135 $string = 'An error was encountered.'; 135 $string = 'An error was encountered.';
136 $im2 = imagecreatefrompng("images/blue.png"); 136 $im2 = imagecreatefrompng("theme/images/blue.PNG");
137 $im = imagecreate(200,30); 137 $im = imagecreate(200,30);
138 $b = imagecopyresized($im,$im2,0,0,0,0,400,400,1,1); 138 $b = imagecopyresized($im,$im2,0,0,0,0,400,400,1,1);
139 $orange = imagecolorallocate($im, 220, 210, 60); 139 $orange = imagecolorallocate($im, 220, 210, 60);