Error found when uploading an image. Looks like it is referring to the watermarking feature. The image is uploaded fine, despite the error, so maybe it's just not able to apply the watermark?
Quote:
Warning: imagecreatefromjpeg(/home/ijgrpcym/public_html/goclubbing/imagehosting/244edb60044eb5.jpg): failed to open stream: No such file or directory in /includes/vbimghost_include.php on line 175
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 176
Warning: imagecreatetruecolor(): Invalid image dimensions in /includes/vbimghost_include.php on line 176
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177
Warning: imagecopy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 189
Warning: imagesx(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 195
Warning: imagesy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 196
Warning: imagestring(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 201
Warning: imagejpeg(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 209
Warning: imagedestroy(): supplied argument is not a valid Image resource in /includes/vbimghost_include.php on line 210
Redirecting...
image uploaded
Click here if your browser does not automatically redirect you.
|
Lines 175-177:
Code:
$img2 = imagecreatefromjpeg($img);
$tempimage = imagecreatetruecolor(imagesx($img2), imagesy($img2));
imagecopy($tempimage, $img2, 0, 0, 0, 0, imagesx($img2), imagesy($img2));
Line 189:
Code:
$text_color = imagecolorallocate($img2, $red, $green, $blue);
Line 195-196:
Code:
$pos_x=(int)(imagesx($img2) / 2) - ($text_width / 2);
$pos_y= (int)(imagesy($img2) / 2) - ($text_height / 2);
Line 201:
Code:
imagestring($img2, $wmtexts, $pos_x, $pos_y, $wmtext, $text_color);
Line 209-210:
Code:
imagejpeg($img2,$img,100);
imagedestroy($tempimage);