Changeset 377355
- Timestamp:
- 04/26/2011 12:13:05 PM (15 years ago)
- Location:
- imagemagick-engine/trunk
- Files:
-
- 2 edited
-
imagemagick-engine.php (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
imagemagick-engine/trunk/imagemagick-engine.php
r350274 r377355 6 6 Author: Orangelab 7 7 Author URI: http://www.orangelab.se 8 Version: 1.2. 18 Version: 1.2.2-test1 9 9 Text Domain: imagemagick-engine 10 10 … … 37 37 * - admin: smarter find path to executable (maybe try 'which' or package handler?) 38 38 * - allow customization of command line / class functions (safely!), check memory limit 39 * - unsharp mask, sharpening level options (perhaps on a picture-by-picture basis) 39 40 * - handle TIF and other IM formats if possible 40 41 * - can we use IM instead of GD in more places? … … 487 488 $new_file = addslashes($new_file); 488 489 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}"; 490 491 if ($crop) 491 492 $cmd .= "^ -gravity center -extent {$width}x{$height}"; … … 495 496 $cmd .= " -quality " . intval($quality); 496 497 497 $cmd .= " '{$new_file}'";498 $cmd .= " \"{$new_file}\""; 498 499 exec($cmd); 499 500 -
imagemagick-engine/trunk/readme.txt
r350274 r377355 3 3 Tags: image, images, picture, imagemagick, gd 4 4 Requires at least: 2.9 5 Tested up to: 3.1 5 Tested up to: 3.1.1 6 6 Stable tag: 1.2.1 7 7 … … 59 59 You can also find binary releases at http://www.imagemagick.org including a Windows installer. 60 60 61 = I get a fatal error when activating plugin = 62 63 Some webhosts (1and1 for example) need to add a work-around to the .htaccess file. 64 65 You might have to add the following line to your .htaccess file: 66 AddType x-mapp-php5 .php 67 68 You'll probably have problems with various other plugins too unless you fix this. 69 61 70 == Screenshots == 62 71 … … 65 74 66 75 == 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 67 81 68 82 = 1.2.1 =
Note: See TracChangeset
for help on using the changeset viewer.