1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

NewsTags shortcode, some admin-ui fixes and newspost thumbnail BC fixes.

This commit is contained in:
CaMer0n
2012-07-15 03:01:30 +00:00
parent 5f61a512ae
commit 187bb8f53b
8 changed files with 71 additions and 13 deletions

View File

@@ -62,6 +62,9 @@ class GdWatermarkTTF
$shadowcolor = imagecolorallocatealpha($im, $scol[0], $scol[1], $scol[2], $opacity);
$white = imagecolorallocatealpha($im, $col[0], $col[1], $col[2], $opacity);
// imagefilter($shadowcolor, IMG_FILTER_GAUSSIAN_BLUR);
imagefilter($shadowcolor, IMG_FILTER_SELECTIVE_BLUR);
imagettftext($im, $size, 0, $x + 1, $y + 1, $shadowcolor, $font, $text);
imagettftext($im, $size, 0, $x -1, $y + 1, $shadowcolor, $font, $text);
imagettftext($im, $size, 0, $x + 0, $y + 0, $white, $font, $text);