简体   繁体   English

Php 拇指不显示图像

[英]Php thumb not show image

I am not able to fix this problem.我无法解决这个问题。 Sometimes my image listed on my webpade sometimes gives this error.有时我的网页上列出的图片有时会出现此错误。

my code我的代码

<?php foreach($hotel['photos'] as $photo){
    if($photo['photo_cover'] !=1){ ?>
        <img class="lazy"  data-src="<?php echo'plugin/thumb/phpThumb.php?src='.$photo['name'].'&h=650&w=1170&iar=0.8&q=85&f=webp&hash=6d430ca401ea0418f2e2e0ba5efd0022&zc=1'; ?>" alt="">
<?php  }  }  ?>

enter image description here在此处输入图像描述

I try Some other thumbnail version but not working.我尝试了一些其他缩略图版本但没有用。

Read the message in the error.阅读错误中的消息。

Error messages disabled.
edit phpThumb.config.php and (temporarily) set
$PHPTHUMB_CONFIG['disable_debug'] = false;
to view the details of this error

So open phpThumb.config.php and put this line at the bottom of the script, I guess.所以打开 phpThumb.config.php 并将这一行放在脚本的底部,我猜。 $PHPTHUMB_CONFIG['disable_debug'] = false;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM