Plugin Directory

Changeset 377355


Ignore:
Timestamp:
04/26/2011 12:13:05 PM (15 years ago)
Author:
orangelab
Message:

1.2.2-test1: fix path with space problem on windows

Location:
imagemagick-engine/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • imagemagick-engine/trunk/imagemagick-engine.php

    r350274 r377355  
    66  Author: Orangelab
    77  Author URI: http://www.orangelab.se
    8   Version: 1.2.1
     8  Version: 1.2.2-test1
    99  Text Domain: imagemagick-engine
    1010
     
    3737 * - admin: smarter find path to executable (maybe try 'which' or package handler?)
    3838 * - allow customization of command line / class functions (safely!), check memory limit
     39 * - unsharp mask, sharpening level options (perhaps on a picture-by-picture basis)
    3940 * - handle TIF and other IM formats if possible
    4041 * - can we use IM instead of GD in more places?
     
    487488    $new_file = addslashes($new_file);
    488489
    489     $cmd = "\"$cmd\" -limit memory 150mb -limit map 128mb -size {$width}x{$height} '{$old_file}' -resize {$width}x{$height}";
     490    $cmd = "\"$cmd\" -limit memory 150mb -limit map 128mb -size {$width}x{$height} \"{$old_file}\" -resize {$width}x{$height}";
    490491    if ($crop)
    491492        $cmd .= "^ -gravity center -extent {$width}x{$height}";
     
    495496        $cmd .= " -quality " . intval($quality);
    496497
    497     $cmd .= " '{$new_file}'";
     498    $cmd .= " \"{$new_file}\"";
    498499    exec($cmd);
    499500
  • imagemagick-engine/trunk/readme.txt

    r350274 r377355  
    33Tags: image, images, picture, imagemagick, gd
    44Requires at least: 2.9
    5 Tested up to: 3.1
     5Tested up to: 3.1.1
    66Stable tag: 1.2.1
    77
     
    5959You can also find binary releases at http://www.imagemagick.org including a Windows installer.
    6060
     61= I get a fatal error when activating plugin =
     62
     63Some webhosts (1and1 for example) need to add a work-around to the .htaccess file.
     64
     65You might have to add the following line to your .htaccess file:
     66AddType x-mapp-php5 .php
     67
     68You'll probably have problems with various other plugins too unless you fix this.
     69
    6170== Screenshots ==
    6271
     
    6574
    6675== Changelog ==
     76
     77= 1.2.2 =
     78* Fix path with space (on Windows)
     79* Tested with WordPress 3.1.1
     80* Added question to FAQ
    6781
    6882= 1.2.1 =
Note: See TracChangeset for help on using the changeset viewer.