Mercurial > hg > nginx-site
comparison xml/ru/docs/http/ngx_http_image_filter_module.xml @ 102:c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Specifying <default> is made non-optional.
Visible changes:
- "types" and "proxy_set_header" get proper defaults (not yet displayed
nicely);
- "fastcgi_hide_header", "fastcgi_ignore_headers", "fastcgi_pass_header",
"proxy_hide_header", "proxy_ignore_headers", and "proxy_pass_header"
now have their (empty) defaults documented;
- mentions of "fastcgi_redirect_errors" and "proxy_redirect_errors" which
are long unsupported were removed.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 19 Oct 2011 05:15:24 +0000 |
parents | 1d315ef37215 |
children | 40eec261c2a6 |
comparison
equal
deleted
inserted
replaced
101:b8fd014ec712 | 102:c76a257f3fd4 |
---|---|
43 | 43 |
44 | 44 |
45 <section name="Директивы" id="directives"> | 45 <section name="Директивы" id="directives"> |
46 | 46 |
47 <directive name="image_filter"> | 47 <directive name="image_filter"> |
48 <syntax>image_filter <value>(test|size|resize ширина высота|crop ширина высота) | 48 <syntax><value>(test|size|resize ширина высота|crop ширина высота) |
49 </value></syntax> | 49 </value></syntax> |
50 <default/> | 50 <default/> |
51 <context>location</context> | 51 <context>location</context> |
52 | 52 |
53 <para> | 53 <para> |
90 | 90 |
91 </directive> | 91 </directive> |
92 | 92 |
93 | 93 |
94 <directive name="image_filter_buffer"> | 94 <directive name="image_filter_buffer"> |
95 <syntax>image_filter_buffer <value>размер</value></syntax> | 95 <syntax><value>размер</value></syntax> |
96 <default>image_filter_buffer 1M</default> | 96 <default>1M</default> |
97 <context>http, server, location</context> | 97 <context>http, server, location</context> |
98 | 98 |
99 <para> | 99 <para> |
100 Директива задаёт максимальный размер буфера для чтения изображения. | 100 Директива задаёт максимальный размер буфера для чтения изображения. |
101 </para> | 101 </para> |
102 | 102 |
103 </directive> | 103 </directive> |
104 | 104 |
105 | 105 |
106 <directive name="image_filter_jpeg_quality"> | 106 <directive name="image_filter_jpeg_quality"> |
107 <syntax>image_filter_jpeg_quality <value>[0..100]</value></syntax> | 107 <syntax><value>[0..100]</value></syntax> |
108 <default>image_filter_jpeg_quality 75</default> | 108 <default>75</default> |
109 <context>http, server, location</context> | 109 <context>http, server, location</context> |
110 | 110 |
111 <para> | 111 <para> |
112 Директива задаёт коэффициент потери информации при обработке изображений | 112 Директива задаёт коэффициент потери информации при обработке изображений |
113 в формате JPEG. Максимальное рекомендуемое значение — 95. | 113 в формате JPEG. Максимальное рекомендуемое значение — 95. |
115 | 115 |
116 </directive> | 116 </directive> |
117 | 117 |
118 | 118 |
119 <directive name="image_filter_transparency"> | 119 <directive name="image_filter_transparency"> |
120 <syntax>image_filter_transparency <value>[on|off]</value></syntax> | 120 <syntax><value>[on|off]</value></syntax> |
121 <default>image_filter_transparency on</default> | 121 <default>on</default> |
122 <context>http, server, location</context> | 122 <context>http, server, location</context> |
123 | 123 |
124 <para> | 124 <para> |
125 Директива определяет, сохранять ли прозрачность при обработке изображений | 125 Директива определяет, сохранять ли прозрачность при обработке изображений |
126 в формате PNG с цветами, заданными палитрой, и формате GIF. | 126 в формате PNG с цветами, заданными палитрой, и формате GIF. |