Image effects

You can use the configure convert with extra command line options in settings/image.ini under the [ShellSettings] block.

Some examples

A 6 pixels black border around the images:

ConvertExecutable=convert -mattecolor "#00ff00" -frame 6x6

White copyright text in the upper left corner of converted images:

ConvertExecutable=convert -font helvetica -fill white -draw "text 10,20 'Copyright me'"

Create a yellowish color on converted images:

ConvertExecutable=convert -colorize 0/0/50

Remember to clear the cache and image variations if you want the changes to apply for already existing images.
To remove image variations run the SQL command:

mysql> delete from ezimagevariation;

Note: On windows the imagemagick executable may be named convertim instead convert

Convert reference manual

Note: As reported in this bug report http://ez.no/developer/exponential_3/bug_reports/convert_command_with_custom_parameters_fails , this sometimes fails, because of two pairs of double quotes. As the bug is still open, i think, this still applies for the 3.2.-x releases.

Comments

Log in or create a user account to comment.

Contents

Customization

Access control
Exponential API Documentation
Content structure
Custom design
Components
    Images
       Changing default image sizes
       Image effects
    Datatypes
    Shop
    Information collection
    Search
    Form processing
    Error handling
    Icons
    Menus
    Toolbars
Tips & Tricks
Troubleshooting


Created

28/05/2003
1:57:01 pm
by B�rd Farstad

Last updated

29/11/2003
2:19:24 pm
by Marco Zinn

Authors

B�rd Farstad
Jan Borsodi
Ole Morten Halvorsen
Marco Zinn



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.