我正在使用Bit Repository中的这个脚本。 <IMG SRC="resize_image.php?image=sunset.jpg&new_width=32&new_height=32">
调整图像大小(动态)不起作用
我的问题是,它没有在我的托管服务器上显示任何图像。 http://www.belowyellow.dx.am/resize_image/demo.html
但它适用于我的本地主机,希望有人可以帮助我这个。谢谢。
来源:http://www.bitrepository.com/resize-an-image-keeping-its-aspect-ratio-using-php-and-gd.html
resize_image.php出现在demo.html所在的同一目录中吗? – dreamweiver 2013-04-24 13:35:31
尝试直接打开PHP脚本,你会看到有一些错误:http://www.belowyellow.dx.am/resize_image/resize_image.php?image=sunset.jpg&new_width=32&new_height=32 – zakinster 2013-04-24 13:36:12
做“resise_image。 PHP按预期工作?“ – dreamweiver 2013-04-24 13:40:43