|
|
Todo: Write something on the "new" dynimages with pipelines: http://www.energiestiftung.ch/dynimage/front/files/bilddateien/aktuell/magazine/euu_2_2008_small.jpg Must be activated: liipook:www alain$ cat .htaccess | grep dyn
RewriteCond %{REQUEST_URI} !^/*dynimages/
RewriteCond %{REQUEST_URI} !^/*dynimage/
RewriteCond %{REQUEST_URI} ^/*dynimages/
RewriteCond %{REQUEST_URI} ^/*dynimage/
RewriteRule ^(.*)$ ./inc/bx/php/dynimage.php
Config example: <?xml version="1.0" encoding="UTF-8"?> <config> <pipelines> <pipeline name="front"> <filter type="crop"> <parameter name="w" value="240"/> <parameter name="h" value="240"/> </filter> </pipeline> <pipeline name="frontsmall"> <filter type="crop"> <parameter name="w" value="84"/> <parameter name="h" value="84"/> </filter> </pipeline> </pipelines> <drivers> <driver type="gd" priority="12"/> </drivers> </config> Another Example: <?xml version="1.0" encoding="utf-8" ?> <config> <pipelines> <pipeline name="spi"> <filter type="crop"> <parameter name="w" value="49"/> <parameter name="h" value="64"/> </filter> <filter type="brightness"> <parameter name="brightness" value="80"/> </filter> </pipeline> <pipeline name="spih"> <filter type="crop"> <parameter name="w" value="49"/> <parameter name="h" value="64"/> </filter> </pipeline> </pipelines> <drivers> <driver type="magickcmd" priority="2"/> <driver type="gd" priority="12"/> <driver type="wand" priority="3"/> </drivers> </config> |
Add Comment