function brokenimage in Brilliant Gallery 5.4
Same name and namespace in other branches
- 5.3 image.php \brokenimage()
- 6 image.php \brokenimage()
- 6.2 image.php \brokenimage()
- 6.3 image.php \brokenimage()
1 call to brokenimage()
- resizeimage in ./
image.php
File
- ./
image.php, line 168
Code
function brokenimage($msg) {
$im = imagecreatetruecolor(150, 30);
$bgc = imagecolorallocate($im, 0, 0, 0);
$tc = imagecolorallocate($im, 255, 255, 255);
imagefilledrectangle($im, 0, 0, 150, 30, $bgc);
imagestring($im, 1, 5, 5, $msg, $tc);
imagejpeg($im);
exit;
}