Image 在Drupal 7中上载Jpeg图像?

Image 在Drupal 7中上载Jpeg图像?,image,drupal,drupal-7,Image,Drupal,Drupal 7,我正在使用Drupal 7的媒体库上传图像。使用png图像文件是可以的,但是当尝试上传jpg文件时,我得到了以下错误 Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: 'public://bob-ross-landscape-painting-281-28.jpg' is not a valid JPEG file in image_gd_load() (line 237 of /web/stud/u0763092/Pi

我正在使用Drupal 7的媒体库上传图像。使用png图像文件是可以的,但是当尝试上传jpg文件时,我得到了以下错误

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: 'public://bob-ross-landscape-painting-281-28.jpg' is not a valid JPEG file in image_gd_load() (line 237 of /web/stud/u0763092/Picture/modules/system/image.gd.inc).
谢谢你的帮助


谢谢

< P>错误消息所描述的,你的.jpg文件不能被GP库的PHP函数PAR读取。您确定您的图像是有效的JPG文件吗