[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 #?ini charset="iso-8859-1"? 2 # eZ publish configuration file for image handling 3 # 4 # NOTE: It is not recommended to edit this files directly, instead 5 # a file in override should be created for setting the 6 # values that is required for your site. Either create 7 # a file called settings/override/image.ini.append or 8 # settings/override/image.ini.append.php for more security 9 # in non-virtualhost modes (the .php file may already be present 10 # and can be used for this purpose). 11 12 [GDSettings] 13 # If set to true more advanced functionality will be available 14 # which is present in GD2. This requires GD2 to be compiled in 15 # the PHP module. 16 HasGD2=false 17 18 [FileSettings] 19 # Which subdirectory of var/cache to use for temporary image files. 20 TemporaryDir=imagetmp 21 # Wich subdirectory of var/storage to use for publish images 22 PublishedImages=images 23 # Wich subdirectory of var/storage to use for non-published (drafts, archived) images 24 VersionedImages=images-versioned 25 # Permission for new image directories, setting it to 0777 means that anyone 26 # can read and write the files and can be considered a security risk. 27 # It's preferred to use 0770 and make sure the web server has correct 28 # user/group access. 29 DirPermissions=0777 30 # Permission for new images, setting it to 0666 means that anyone 31 # can read and write the files and can be considered a security risk. 32 # It's preferred to use 0660 and make sure the web server has correct 33 # user/group access. 34 ImagePermissions=0666 35 36 [OutputSettings] 37 # A list of MIME types that are allowed as output type 38 # This determines which formats you want your web page to display 39 AllowedOutputFormat[] 40 AllowedOutputFormat[]=image/jpeg 41 AllowedOutputFormat[]=image/png 42 AllowedOutputFormat[]=image/gif 43 44 45 # 46 # -------- Image alias settings -------- 47 # 48 49 50 [AliasSettings] 51 # Defines a list of aliases that are available to 52 # the template engine and other clients. 53 # The alias must be defined as a separate INI block. 54 AliasList[] 55 AliasList[]=reference 56 AliasList[]=small 57 AliasList[]=medium 58 AliasList[]=large 59 AliasList[]=rss 60 # AliasList[]=gray 61 # AliasList[]=zoom 62 63 # Example of an image alias, the group is called the same as the alias name 64 # [myalias] 65 # 66 # Tells the system to use the original alias as reference image. The reference 67 # image is the base of conversion and filtering. original is the default and 68 # can be omitted 69 # Reference=reference 70 # 71 # The MIME type of the output image. Can be specified if you want a specific 72 # format for the alias, if not skip it and let the image system decide. 73 # A useful application for this is screenshots, normally you don't want 74 # to use image/jpeg for screenshot but rather image/png or image/gif. 75 # MIMEType=image/png 76 # 77 # A list of filters to run, each filter must be supported by the active image converters 78 # Filters[]=geometry/scale=300;300 79 80 # reference, small, medium and large for backwards compatability 81 # You can for instance remove the reference if don't want the extra disk usage 82 83 # By defining the 'original' alias and setting some filters 84 # or changing the MIME type you can even force a conversion of 85 # the originally uploaded image. 86 # This is useful to save space or make sure the image is in a specific format 87 # [original] 88 # Filters[] 89 # Filters[]=colorspace/gray 90 91 # [original] 92 # Filters[] 93 # Filters[]=filter/swirl=210 94 # # MIMEType=image/png 95 96 [reference] 97 Filters[] 98 Filters[]=geometry/scaledownonly=600;600 99 100 [small] 101 Reference=reference 102 Filters[]=geometry/scaledownonly=100;100 103 104 [medium] 105 Reference=reference 106 Filters[]=geometry/scaledownonly=200;200 107 108 [large] 109 Reference=reference 110 Filters[]=geometry/scaledownonly=300;300 111 112 [rss] 113 Reference=reference 114 Filters[]=geometry/scale=88;31 115 # Width max 144 according to the RSS 1.0 specification 116 # Width max 400 according to the RSS 1.0 specification 117 118 119 # An example alias which converts the image to grayscale 120 # 121 # [gray] 122 # Reference=large 123 # Filters[] 124 # Filters[]=colorspace/gray 125 126 # An example alias which crops the image to specific size 127 # and adds a border. 128 # 129 # [zoom] 130 # Reference=reference 131 # Filters[] 132 # Filters[]=geometry/crop=200;200;155;155 133 # Filters[]=border/color=0;0;0 134 # Filters[]=border=4;4 135 136 137 # 138 # -------- Image MIME type settings -------- 139 # 140 141 142 [MIMETypeSettings] 143 # A list of settings which override certain MIME types 144 # The overrides can define allowed and disallowed filters 145 # as well as extra filters.l 146 OverrideList[]=AnimatedGIF 147 148 # A list of mimetypes and their image quality value 149 # The value varies from mime type to mime type. 150 Quality[] 151 # Set JPEG quality from 0 (worst quality, smallest file) to 100 (best quality, biggest file) 152 Quality[]=image/jpeg;75 153 154 # The global conversion rules 155 # Most will be converted to jpeg except gif and xpms 156 ConversionRules[] 157 ConversionRules[]=image/gif;image/png 158 ConversionRules[]=image/x-xpixmap;image/png 159 ConversionRules[]=*;image/jpeg 160 # Fallback if jpeg is disabled as output. 161 # ConversionRules[]=image/jpeg;image/png 162 163 164 # Override for animated GIFs, this is needed to properly 165 # handle image/gif files with multiple image frames. 166 # It will turn off any geometry filters to leave the images untouched. 167 [AnimatedGIF] 168 # The MIME type which this override works on 169 MIMEType=image/gif 170 # A list of matches that needs to be satisified for this override to be used 171 Match[is_animated]=1 172 # Alternative MIME type for the image, currently unused. 173 OverrideMIMEType=animation/gif 174 # A list of filters which are not allowed to be run on this image, 175 # wildcards can also be used. 176 DisallowedFilters[]=* 177 # A list of filters which are allowed to be run on this image, 178 # wildcards can also be used. If this is supplied only filters that 179 # are in this list will be allowed 180 # AllowedFilters[] 181 182 # A list of extra filters to add for this image. 183 ExtraFilters[] 184 185 186 # 187 # -------- Image converter settings -------- 188 # 189 190 [ShellSettings] 191 ConvertPath= 192 193 [ImageConverterSettings] 194 RepositoryList[]=lib/ezimage/classes 195 ExtensionList[] 196 # List of converters to use, each entry is the name of the converter 197 # which is defined in a ini block. 198 # The order of the convertes are important since the first 199 # applicable converter will be used. The last handler is 200 # usually a fallback converter which can take care of most formats. 201 # The list can also contain converters which cannot work 202 # on the installed server, the converter should check this 203 # and tell the image system to not use it. 204 ImageConverters[] 205 ImageConverters[]=ImageMagick 206 ImageConverters[]=GD 207 ImageHandlerAlias[] 208 209 [GD] 210 Name=GD 211 IsEnabled=true 212 # Which PHP handler to use for the conversion, 213 # ezimagegd means to use the ImageGD extension in PHP 214 Handler=ezimagegd 215 216 # The following filters are supported by GD 217 # geometry/scale 218 # geometry/scalewidth 219 # geometry/scaleheight 220 # geometry/scaledownonly 221 # geometry/scalewidthdownonly 222 # geometry/scaleheightdownonly 223 # geometry/scaleexact 224 # geometry/scalepercent 225 # geometry/crop 226 # colorspace/gray 227 # luminance/gray 228 # luminance/sepia 229 # color/monochrome 230 # border 231 # border/color 232 # border/width 233 234 [ImageMagick] 235 Name=ImageMagick 236 # If set to true then this handler will be used, 237 # The setup wizard will turn this off it ImageMagick is not found on the system 238 IsEnabled=true 239 # Which PHP handler to use for the conversion, 240 # ezimageshell means to use the generic shell handler which 241 # creates a command line and executes it with system(). 242 Handler=ezimageshell 243 # The path to the executable, can be empty for global path. 244 ExecutablePath= 245 # Name of the executable 246 Executable=convert 247 # Name of the executable for windows, 248 # uncomment ExecutableMac for Mac specific converter and 249 # ExecutableUnix for Unix/Linux specific converter 250 # ExecutableMac=convert 251 # ExecutableUnix=convert 252 # Parameters that must be run before the filenames and filters. 253 PreParameters= 254 # Parameters that must be run after the filenames and filters. 255 PostParameters= 256 # Whether the destination name should be prefixed with a TAG name (see MIMETagMap below) 257 # The variable contains the separator between the TAG and the filename. 258 # This is needed for ImageMagick to provide proper conversions of some formats. 259 UseTypeTag=: 260 261 # MIME types that the converter can get as input 262 InputMIMEList[] 263 InputMIMEList[]=* 264 265 # MIME types that the converter can generate 266 OutputMIMEList[] 267 OutputMIMEList[]=* 268 269 # A list of mime types and their quality parameters 270 QualityParameters[] 271 QualityParameters[]=image/jpeg;-quality %1 272 273 # A list of filter ImageMagick supports, add more if needed 274 # The same filter names are used in aliases and MIME type overrides with optional parameters. 275 Filters[]=geometry/scale=-geometry %1x%2 276 Filters[]=geometry/scalewidth=-geometry %1 277 Filters[]=geometry/scaleheight=-geometry x%1 278 Filters[]=geometry/scaledownonly=-geometry %1x%2> 279 Filters[]=geometry/scalewidthdownonly=-geometry %1> 280 Filters[]=geometry/scaleheightdownonly=-geometry x%1> 281 Filters[]=geometry/scaleexact=-geometry %1x%2! 282 Filters[]=geometry/scalepercent=-geometry %1x%2% 283 Filters[]=geometry/crop=-crop %1x%2+%3+%4 284 Filters[]=filter/noise=-noise %1 285 Filters[]=filter/swirl=-swirl %1 286 Filters[]=colorspace/gray=-colorspace GRAY 287 Filters[]=colorspace/transparent=-colorspace Transparent 288 Filters[]=colorspace=-colorspace %1 289 Filters[]=border=-border %1x%2 290 Filters[]=border/color=-bordercolor rgb(%1,%2,%3) 291 Filters[]=border/width=-borderwidth %1 292 293 # Maps a MIME type to a tag name which is prepended to the destination name for ImageMagick 294 MIMETagMap[]=image/x-xpixmap;XPM 295 MIMETagMap[]=image/png;PNG 296 MIMETagMap[]=image/jpeg;JPEG 297 MIMETagMap[]=image/bmp;BMP 298 MIMETagMap[]=image/gif;GIF 299 MIMETagMap[]=image/x-portable-bitmap;PBM 300 MIMETagMap[]=image/tiff;TIFF 301 MIMETagMap[]=image/pcx;PCX 302 MIMETagMap[]=image/x-pict;PICT 303 MIMETagMap[]=image/svg+xml;SVG 304 MIMETagMap[]=image/tga;TGA 305 MIMETagMap[]=image/vnd.wap.wbmp;WBMP 306 MIMETagMap[]=image/x-xbitmap;XBM 307 MIMETagMap[]=image/x-xcf-gimp;XCF 308 MIMETagMap[]=application/x-photoshop;PSD 309 MIMETagMap[]=application/pdf;PDF 310 MIMETagMap[]=application/postscript;PS 311 MIMETagMap[]=text/plain;TEXT 312 313 314 # 315 # -------- Image analysis settings -------- 316 # 317 318 319 [AnalyzerSettings] 320 # Where to look for analyzers 321 RepositoryList[]=lib/ezimage/classes 322 # A list of extensions which have analyzers, it will look in the imageanalyzer subdir. 323 ExtensionList[] 324 # A list of active analyzers 325 ImageAnalyzers[]=GIF 326 ImageAnalyzers[]=EXIF 327 # A list of aliases for analyzer, can be used to redirect certain 328 # analyzers to your own. 329 ImageAnalyzerAlias[] 330 331 # A list of formats that need extra analysis 332 AnalyzerMIMEList[] 333 # GIF images must be analyzed to check for 334 # animated GIFs, animated GIFs are hard to convert 335 # to other formats. 336 AnalyzerMIMEList[]=image/gif 337 338 # GIF analyzer, figures out details about GIF images 339 # Is primarily used to determine GIF animation. 340 [GIFAnalyzer] 341 Handler=ezgif 342 MIMEList[]=image/gif 343 344 # Analyzer for EXIF data, currently supports JPEG and TIFF 345 [EXIFAnalyzer] 346 Handler=ezexif 347 MIMEList[]=image/jpeg 348 MIMEList[]=image/tiff
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |