Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请求新特性 #4

Open
melin opened this issue Sep 13, 2014 · 5 comments
Open

请求新特性 #4

melin opened this issue Sep 13, 2014 · 5 comments

Comments

@melin
Copy link

melin commented Sep 13, 2014

1:能够设置图片压缩大小格式,例如:20x20,100x100,防止随意生成不同格式图片。
2:图片可能存储fastdfs中,nginx通过http请求下载图片到本地,在压缩,添加水印。
3:可以缓存压缩图片,如果已经压缩过,还重复压缩吗?
我以前通过nginx+lua方式做过:http://www.iteye.com/topic/1125126

@oupula
Copy link
Owner

oupula commented Sep 13, 2014

限制使用的尺寸可以用rewrite来匹配

fastdfs没有玩过

发自我的 iPhone

在 2014年9月13日,20:53,melin notifications@github.com 写道:

1:能够设置图片压缩大小格式,例如:20x20,100x100,防止随意生成不同格式图片。
2:图片可能存储fastdfs中,nginx通过http请求下载图片到本地,在压缩,添加水印。
3:可以缓存压缩图片,如果已经压缩过,还重复压缩吗?
我以前通过nginx+lua方式做过:http://www.iteye.com/topic/1125126


Reply to this email directly or view it on GitHub.

@xtyxl
Copy link

xtyxl commented Oct 16, 2014

nginx下 这段配置与ngx_image_thumb模块不兼容
location ~ .*.(gif|jpg|jpeg|png|bmp|swf|flv|js|css|rm|wmv|rmvb|mp3)$ {
expires 30d;
}

@crazyjin
Copy link

现在公司的图片服务器是基于fastdfs的。image_backend on/off 怎么配置的?能否支持fastdfs?
如果请求格式能从
http://oopul.vicp.net/12.jpg!m300x300.jpg
进化一下成
http://oopul.vicp.net/12_m_300_300.jpg
看着就更舒心了。

@muyline
Copy link

muyline commented Feb 11, 2015

能支持本地缓存图片就好了,这样就不必须每次都实时生成图片了。

@oupula
Copy link
Owner

oupula commented Feb 11, 2015

image_output off;

发自我的 iPhone

在 2015年2月11日,18:16,muyline notifications@github.com 写道:

能支持本地缓存图片就好了,这样就不必须每次都实时生成图片了。


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants