0
我試圖重新生成與我的本地prestashop網站上的所有縮略圖。而我得到了很多文件的這些錯誤:prestashop如何處理錯誤:imagecreatefromjpeg():不是一個有效的PNG文件
Warning: imagecreatefrompng(): '/home/ll/Documents/www/ESI/img/p/2/5/8/258.jpg' is not a valid PNG file in /home/ll/Documents/www/ESI/classes/ImageManager.php on line 358
Warning: imagecopyresampled() expects parameter 2 to be resource, boolean given in /home/ll/Documents/www/ESI/classes/ImageManager.php on line 184
Warning: imagecreatefrompng(): '/home/ll/Documents/www/ESI/img/p/2/5/8/258.jpg' is not a valid PNG file in /home/ll/Documents/www/ESI/classes/ImageManager.php on line 358
Warning: imagecopyresampled() expects parameter 2 to be resource, boolean given in /home/ll/Documents/www/ESI/classes/ImageManager.php on line 184
Warning: imagecreatefrompng(): '/home/ll/Documents/www/ESI/img/p/2/5/8/258.jpg' is not a valid PNG file in /home/ll/Documents/www/ESI/classes/ImageManager.php on line 358
Warning: imagecopyresampled() expects parameter 2 to be resource, boolean given in /home/ll/Documents/www/ESI/classes/ImageManager.php on line 184
Warning: imagecreatefrompng(): '/home/ll/Documents/www/ESI/img/p/2/5/9/259.jpg' is not a valid PNG file in /home/ll/Documents/www/ESI/classes/ImageManager.php on line 358
Warning: imagecopyresampled() expects parameter 2 to be resource, boolean given in /home/ll/Documents/www/ESI/classes/ImageManager.php on line 184
看起來他們已經損壞......我該怎麼辦?
感謝