diff options
| author | Starla Insigna <hatkirby@fourisland.com> | 2008-12-19 23:01:55 -0500 |
|---|---|---|
| committer | Starla Insigna <hatkirby@fourisland.com> | 2008-12-19 23:01:55 -0500 |
| commit | 8920977261fb6c0fb5ad3e9be0bc07ff35b337cf (patch) | |
| tree | f3fcd75e7e5b02c0152ac1f2c075e319f22be357 /thumb.php | |
| parent | 31ac283c5bae32c91629fa36adf71572597f2cd5 (diff) | |
| download | fourisland-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-x | thumb.php | 2 |
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); |
