我知道有很多提供占位符图像的服务。我用过这些。我想为我的办公室制作占位符图像。有没有一种简单的方法可以生成特定的图像尺寸,而不是使用照片编辑器?
当然。尝试placehold.it或dummyimage
我最喜欢的是http://placekitten.com
您只需要使用http://placekitten.com/{width}/{height}
格式的URL设置img的src,例如http://placekitten.com/g/200/300
每个请求都会返回不同的小猫图像image