Version Description
- Fix bug with forced resize of custom image sizes
- Fix warning with open_basedir restriction during path test
- German translation thanks to Dirk Rottig
Download this release
Release Info
Developer | orangelab |
Plugin | ImageMagick Engine |
Version | 1.1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.2
- imagemagick-engine.php +13 -5
- languages/imagemagick-engine-de_DE.mo +0 -0
- languages/imagemagick-engine-de_DE.po +177 -0
- readme.txt +9 -4
imagemagick-engine.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
Description: Improve the quality of re-sized images by replacing standard GD library with ImageMagick
|
6 |
Author: Orangelab
|
7 |
Author URI: http://www.orangelab.se
|
8 |
-
Version: 1.1.
|
9 |
|
10 |
Copyright 2010 Orangelab
|
11 |
|
@@ -396,7 +396,13 @@ function ime_im_cli_find_command() {
|
|
396 |
$possible_paths = array("/usr/bin", "/usr/local/bin");
|
397 |
|
398 |
foreach ($possible_paths AS $path) {
|
399 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
400 |
if (ime_im_cli_check_command($path))
|
401 |
return $path;
|
402 |
}
|
@@ -457,7 +463,7 @@ function ime_ajax_test_im_path() {
|
|
457 |
// Process single attachment ID
|
458 |
function ime_ajax_process_image() {
|
459 |
global $ime_image_sizes, $ime_image_file, $_wp_additional_image_sizes;
|
460 |
-
|
461 |
if (!current_user_can('manage_options') || !ime_mode_valid())
|
462 |
die('-1');
|
463 |
|
@@ -715,8 +721,10 @@ function ime_option_page() {
|
|
715 |
$sizes = array('thumbnail' => __('Thumbnail', 'imagemagick-engine')
|
716 |
, 'medium' => __('Medium', 'imagemagick-engine')
|
717 |
, 'large' => __('Large', 'imagemagick-engine')); // Standard sizes
|
718 |
-
if ( isset( $_wp_additional_image_sizes ) && count( $_wp_additional_image_sizes ) )
|
719 |
-
|
|
|
|
|
720 |
|
721 |
if (isset($_POST['regenerate-images'])) {
|
722 |
ime_show_regenerate_images(array_keys($sizes));
|
5 |
Description: Improve the quality of re-sized images by replacing standard GD library with ImageMagick
|
6 |
Author: Orangelab
|
7 |
Author URI: http://www.orangelab.se
|
8 |
+
Version: 1.1.2
|
9 |
|
10 |
Copyright 2010 Orangelab
|
11 |
|
396 |
$possible_paths = array("/usr/bin", "/usr/local/bin");
|
397 |
|
398 |
foreach ($possible_paths AS $path) {
|
399 |
+
/*
|
400 |
+
* This operation would give a warning if path is restricted by
|
401 |
+
* open_basedir.
|
402 |
+
*/
|
403 |
+
$path = @realpath($path);
|
404 |
+
if (!$path)
|
405 |
+
continue;
|
406 |
if (ime_im_cli_check_command($path))
|
407 |
return $path;
|
408 |
}
|
463 |
// Process single attachment ID
|
464 |
function ime_ajax_process_image() {
|
465 |
global $ime_image_sizes, $ime_image_file, $_wp_additional_image_sizes;
|
466 |
+
|
467 |
if (!current_user_can('manage_options') || !ime_mode_valid())
|
468 |
die('-1');
|
469 |
|
721 |
$sizes = array('thumbnail' => __('Thumbnail', 'imagemagick-engine')
|
722 |
, 'medium' => __('Medium', 'imagemagick-engine')
|
723 |
, 'large' => __('Large', 'imagemagick-engine')); // Standard sizes
|
724 |
+
if ( isset( $_wp_additional_image_sizes ) && count( $_wp_additional_image_sizes ) ) {
|
725 |
+
foreach ($_wp_additional_image_sizes as $name => $spec)
|
726 |
+
$sizes[$name] = $name;
|
727 |
+
}
|
728 |
|
729 |
if (isset($_POST['regenerate-images'])) {
|
730 |
ime_show_regenerate_images(array_keys($sizes));
|
languages/imagemagick-engine-de_DE.mo
ADDED
Binary file
|
languages/imagemagick-engine-de_DE.po
ADDED
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the WordPress plugin ImageMagick Engine 1.1.1 by Orangelab.
|
2 |
+
# Copyright (C) 2010 Orangelab
|
3 |
+
# This file is distributed under the same license as the ImageMagick Engine package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
+
#
|
6 |
+
msgid ""
|
7 |
+
msgstr ""
|
8 |
+
"Project-Id-Version: ImageMagick Engine 1.1.1\n"
|
9 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/imagemagick-engine\n"
|
10 |
+
"POT-Creation-Date: 2010-09-28 20:44+0000\n"
|
11 |
+
"PO-Revision-Date: 2010-09-29 00:59+0100\n"
|
12 |
+
"Last-Translator: Dirk Rottig <office@xenprovide.de>\n"
|
13 |
+
"Language-Team: xenprovide <office@xenprovide.de>\n"
|
14 |
+
"MIME-Version: 1.0\n"
|
15 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
16 |
+
"Content-Transfer-Encoding: 8bit\n"
|
17 |
+
"X-Poedit-Language: German\n"
|
18 |
+
"X-Poedit-Country: GERMANY\n"
|
19 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
20 |
+
|
21 |
+
#: imagemagick-engine.php:568
|
22 |
+
msgid "Settings"
|
23 |
+
msgstr "Einstellungen"
|
24 |
+
|
25 |
+
#: imagemagick-engine.php:595
|
26 |
+
msgid "Resized using ImageMagick Engine"
|
27 |
+
msgstr "Das Bild wurde mit ImageMagick Engine optimiert"
|
28 |
+
|
29 |
+
#. #-#-#-#-# plugin.pot (ImageMagick Engine 1.1.1) #-#-#-#-#
|
30 |
+
#. Plugin Name of the plugin/theme
|
31 |
+
#: imagemagick-engine.php:624
|
32 |
+
msgid "ImageMagick Engine"
|
33 |
+
msgstr "ImageMagick Engine"
|
34 |
+
|
35 |
+
#: imagemagick-engine.php:631
|
36 |
+
#, php-format
|
37 |
+
msgid "Unable to find any images. Are you sure <a href='%s'>some exist</a>?"
|
38 |
+
msgstr "Das Plugin kann kein Bilder finden. Sind Sie sicher, dass <a href='%s'>welche existieren</a>?"
|
39 |
+
|
40 |
+
#: imagemagick-engine.php:636
|
41 |
+
msgid "Please be patient while images are regenerated. This can take a long time if you have many images."
|
42 |
+
msgstr "Bitte einen Augenblick Geduld, während die Bilder bearbeitet werden. Bei vielen Bildern kann das einen Augenblick dauern."
|
43 |
+
|
44 |
+
#: imagemagick-engine.php:656
|
45 |
+
msgid "You must enable Javascript in order to proceed!"
|
46 |
+
msgstr "Sie müssen Javascript aktivieren, um fortzufahren!"
|
47 |
+
|
48 |
+
#: imagemagick-engine.php:662
|
49 |
+
msgid "Working..."
|
50 |
+
msgstr "Berechne..."
|
51 |
+
|
52 |
+
#: imagemagick-engine.php:690
|
53 |
+
msgid "All done!"
|
54 |
+
msgstr "Alles erledigt!"
|
55 |
+
|
56 |
+
#: imagemagick-engine.php:690
|
57 |
+
#, php-format
|
58 |
+
msgid "Processed %d images."
|
59 |
+
msgstr "%d Bilder bearbeitet."
|
60 |
+
|
61 |
+
#: imagemagick-engine.php:715
|
62 |
+
msgid "Thumbnail"
|
63 |
+
msgstr "Miniaturbilder"
|
64 |
+
|
65 |
+
#: imagemagick-engine.php:716
|
66 |
+
msgid "Medium"
|
67 |
+
msgstr "Mittlere Bildgröße"
|
68 |
+
|
69 |
+
#: imagemagick-engine.php:717
|
70 |
+
msgid "Large"
|
71 |
+
msgstr "Maximale Bildgröße"
|
72 |
+
|
73 |
+
#: imagemagick-engine.php:750
|
74 |
+
msgid "Settings updated"
|
75 |
+
msgstr "Einstellungen gespeichert"
|
76 |
+
|
77 |
+
#: imagemagick-engine.php:786
|
78 |
+
#, php-format
|
79 |
+
msgid "No valid ImageMagick mode found! Please check %sFAQ%s for installation instructions."
|
80 |
+
msgstr "Kein ImageMagick Modus gefunden! Bitte lesen Sie die %sFAQ% für Hinweise zur Installation."
|
81 |
+
|
82 |
+
#: imagemagick-engine.php:790
|
83 |
+
msgid "ImageMagick Engine is not enabled."
|
84 |
+
msgstr "ImageMagick Engine ist nicht aktiviert."
|
85 |
+
|
86 |
+
#: imagemagick-engine.php:794
|
87 |
+
msgid "ImageMagick Engine Settings"
|
88 |
+
msgstr "ImageMagick Engine Einstellungen"
|
89 |
+
|
90 |
+
#: imagemagick-engine.php:803
|
91 |
+
msgid "Regenerate Images"
|
92 |
+
msgstr "Berechne Bilder neu"
|
93 |
+
|
94 |
+
#: imagemagick-engine.php:808
|
95 |
+
msgid "Sizes"
|
96 |
+
msgstr "Größen"
|
97 |
+
|
98 |
+
#: imagemagick-engine.php:818
|
99 |
+
msgid "ImageMagick images too"
|
100 |
+
msgstr "auch ImageMagick Bilder"
|
101 |
+
|
102 |
+
#: imagemagick-engine.php:820
|
103 |
+
msgid "Regenerate"
|
104 |
+
msgstr "erneuern"
|
105 |
+
|
106 |
+
#: imagemagick-engine.php:820
|
107 |
+
msgid "(this can take a long time)"
|
108 |
+
msgstr "(dauert einen Moment)"
|
109 |
+
|
110 |
+
#: imagemagick-engine.php:830
|
111 |
+
msgid "Enable enhanced image engine"
|
112 |
+
msgstr "Aktiviere Image Engine"
|
113 |
+
|
114 |
+
#: imagemagick-engine.php:836
|
115 |
+
msgid "Image engine"
|
116 |
+
msgstr "Image engine"
|
117 |
+
|
118 |
+
#: imagemagick-engine.php:853
|
119 |
+
msgid "Imagick PHP module"
|
120 |
+
msgstr "Imagick PHP Modul"
|
121 |
+
|
122 |
+
#: imagemagick-engine.php:856
|
123 |
+
msgid "Imagick PHP module found"
|
124 |
+
msgstr "Imagick PHP Modul gefunden"
|
125 |
+
|
126 |
+
#: imagemagick-engine.php:856
|
127 |
+
msgid "Imagick PHP module not found"
|
128 |
+
msgstr "Imagick PHP Modul nicht gefunden"
|
129 |
+
|
130 |
+
#: imagemagick-engine.php:860
|
131 |
+
msgid "ImageMagick path"
|
132 |
+
msgstr "ImageMagick Pfad"
|
133 |
+
|
134 |
+
#: imagemagick-engine.php:863
|
135 |
+
msgid "Command not found"
|
136 |
+
msgstr "Befehl nicht gefunden"
|
137 |
+
|
138 |
+
#: imagemagick-engine.php:864
|
139 |
+
msgid "Testing command..."
|
140 |
+
msgstr "Befehl testen"
|
141 |
+
|
142 |
+
#: imagemagick-engine.php:866
|
143 |
+
msgid "Test path"
|
144 |
+
msgstr "Test Pfad"
|
145 |
+
|
146 |
+
#: imagemagick-engine.php:870
|
147 |
+
msgid "ImageMagick quality"
|
148 |
+
msgstr "ImageMagick Qualität"
|
149 |
+
|
150 |
+
#: imagemagick-engine.php:872
|
151 |
+
msgid "(0-100, leave empty for default value, computed dynamically)"
|
152 |
+
msgstr "(0-100, leer lassen für Standardwert, wird dynamisch berechnet)"
|
153 |
+
|
154 |
+
#: imagemagick-engine.php:876
|
155 |
+
msgid "Handle sizes"
|
156 |
+
msgstr "Größen verarbeiten"
|
157 |
+
|
158 |
+
#: imagemagick-engine.php:887
|
159 |
+
msgid "Save Changes"
|
160 |
+
msgstr "Änderungen speichern"
|
161 |
+
|
162 |
+
#. Plugin URI of the plugin/theme
|
163 |
+
msgid "http://wp.orangelab.se/imagemagick-engine/"
|
164 |
+
msgstr "http://wp.orangelab.se/imagemagick-engine/"
|
165 |
+
|
166 |
+
#. Description of the plugin/theme
|
167 |
+
msgid "Improve the quality of re-sized images by replacing standard GD library with ImageMagick"
|
168 |
+
msgstr "Verbessert die Qualität bei Bildskalierungen, indem die Standard GD Library in Wordpress mit ImageMagick ersetzt wird."
|
169 |
+
|
170 |
+
#. Author of the plugin/theme
|
171 |
+
msgid "Orangelab"
|
172 |
+
msgstr "Orangelab"
|
173 |
+
|
174 |
+
#. Author URI of the plugin/theme
|
175 |
+
msgid "http://www.orangelab.se"
|
176 |
+
msgstr "http://www.orangelab.se"
|
177 |
+
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== ImageMagick Engine ===
|
2 |
Contributors: orangelab
|
3 |
-
Tags: image images picture imagemagick gd
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 3.0.1
|
6 |
-
Stable tag: 1.1.
|
7 |
|
8 |
Improve the quality of re-sized images by replacing standard GD library with ImageMagick.
|
9 |
|
@@ -18,7 +18,7 @@ Features
|
|
18 |
* Allow regeneration of existing images (optionally for selected image sizes only)
|
19 |
* Configure image quality or use dynamically computed default value.
|
20 |
|
21 |
-
Translations: Swedish
|
22 |
|
23 |
Requires either ImageMagick binary or Imagick PHP module.
|
24 |
|
@@ -65,7 +65,12 @@ You can also find binary releases at http://www.imagemagick.org including Windo
|
|
65 |
|
66 |
== Changelog ==
|
67 |
|
68 |
-
= 1.1.
|
|
|
|
|
|
|
|
|
|
|
69 |
* Fix search-and-replace error from 1.1 that made it impossible to change settings! Thanks to Marco M. Jaeger for report!
|
70 |
|
71 |
= 1.1 =
|
1 |
=== ImageMagick Engine ===
|
2 |
Contributors: orangelab
|
3 |
+
Tags: image, images, picture, imagemagick, gd
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 3.0.1
|
6 |
+
Stable tag: 1.1.2
|
7 |
|
8 |
Improve the quality of re-sized images by replacing standard GD library with ImageMagick.
|
9 |
|
18 |
* Allow regeneration of existing images (optionally for selected image sizes only)
|
19 |
* Configure image quality or use dynamically computed default value.
|
20 |
|
21 |
+
Translations: German, Swedish
|
22 |
|
23 |
Requires either ImageMagick binary or Imagick PHP module.
|
24 |
|
65 |
|
66 |
== Changelog ==
|
67 |
|
68 |
+
= 1.1.2 =
|
69 |
+
* Fix bug with forced resize of custom image sizes
|
70 |
+
* Fix warning with open_basedir restriction during path test
|
71 |
+
* German translation thanks to Dirk Rottig
|
72 |
+
|
73 |
+
= 1.1.1 =
|
74 |
* Fix search-and-replace error from 1.1 that made it impossible to change settings! Thanks to Marco M. Jaeger for report!
|
75 |
|
76 |
= 1.1 =
|