问题:使用jQuery的插件fileUploader上传图片成功后无法显示缩略图,但可读出图片路径。
图片可以读出来,但显示不出来。
将图片在新窗口中打开后,出现以下错误代码:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.9 (Win32) PHP/5.5.12 Server at localhost Port 80
原因:Apache的headers模块没有打开。
解决办法:我用的是wamp,所以直接将Apache对应的headers模块打开就好了。