在Nginx中配置image filter模块来实现动态生成缩略图
先来看一下什么是nginx的image filter模块。HttpImageFilterModule用来裁剪过大的图片到指定大小,是nginx自带模块,默认不会开启开启HttpImageFilterModule需要在编译要带上参数 --with-http_image_filter_module该模块主要有两个指令:语法: image_filter (test | size | resize width height | crop width height)...