(i don't find a answer in the board with the searchfunction)
when i upload gif's or jpg's in my file center and i try to use imagemagick, there are no thumbnails.
my conf.inc.php:
Code: Select all
$phpwcms["compress_page"] = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"] = 1; //0 = GD, 1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"] = "/usr/bin/"; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"] = 1; //0 = GD1, 1 = GD2
i have to chmoding my content folders 777, then it's ok.
this test on http://www.diefirma.net/content/image_magick.php works also:
Code: Select all
<?php
// image_magick.php
// Testgrafik logo.gif
print "<table>";
print "<tr><th>Originallogo im GIF-Format:</th>
<th>konvertiertes Logo (PNG):</th></tr>\n";
exec("/usr/bin/convert logo.gif test.png");
print "<tr><td><img src=\"./logo.gif\"></td>
<td><img src=\"./test.png\"></td></tr>\n";
print "</table>\n";
?>
gif's and png's was showing full(!)
what's wrong?
thx. ash
----------------
hallo, leider konnte ich über die suchfunktion keine lösung für mein problem finden. jetzt frag ich mal euch.
imagemagick will in der dateizentrale irgendwie keine thumbnails aus jpg's, gifs und png's erstellen. (conf.inc.php siehe oben)
der php safe_mode ist on. nachdem ich den provider darum bat, safe_mode abzustellen, meinte der, safe_mode und imagemagick vertragen sich durchaus und ich solle nur meine betreffenden ordner auf chmod 777 stellen dann liefe das schon.
der kleine image_magick -test (siehe oben) unter http://www.diefirma.net/content/image_magick.php bestätigte das eigendlich auch.
zur not würde ich auch gd an stelle von imagick nutzen, aber da habe ich das problem, das da zwar thumbnails aus jpg's, nicht aber aus gif's oder png's generiert werden. die werden in alle voller größe und pracht angezeigt.
weiß im moment nicht weiter. wer hilft?
thx. gruß ash