duanfu5239 2016-10-16 06:03
浏览 80

Laravel 4 mews验证没有错误,但没有显示图片

I have a problem with mews captcha package. I have an application on Laravel 4.2. In this application there is a feedback form. I am using mews captcha package in it. But captcha picture not showing. I have enabled gd library. this is my config/app.php:

providers

'Mews\Captcha\CaptchaServiceProvider'

alias:

'Captcha'         => 'Mews\Captcha\Facades\Captcha',

and html where I am calling captcha:

<span class="input-group-addon">{{ HTML::image(Captcha::img()) }}</span>

Can you help me?

EDIT

html in brouser:

captcha

And this is, if I open captcha url in brouser:

enter image description here

EDIT2

code inspector:

enter image description here

EDIT3:

when I tried to save it in jpeg or jpg format, and opened it

enter image description here

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 如何用stata画出文献中常见的安慰剂检验图
    • ¥15 c语言链表结构体数据插入
    • ¥40 使用MATLAB解答线性代数问题
    • ¥15 COCOS的问题COCOS的问题
    • ¥15 FPGA-SRIO初始化失败
    • ¥15 MapReduce实现倒排索引失败
    • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
    • ¥15 找一位技术过硬的游戏pj程序员
    • ¥15 matlab生成电测深三层曲线模型代码
    • ¥50 随机森林与房贷信用风险模型