Problem with images
Then you're not using local setup w/ drive lettersfitus wrote:that doesn't work. i got the same msg as before.
What "exactly" ~IS~ your path to Imagemagick?? Or "temporarily" modify one of the files with:
Code: Select all
echo $phpwcms["imagick_path"];
I have an Apache server running on my PC here at home as a "test bed" for phpWCMS, as well as, an "online" webhost running Linux. The online host only provides GD1 service. So... to try out GD2 and ImageMagick... I have installed them on my local "server". It uses drive letter to path for installation of ImageMagick (i.e. d:/ImageMagick5.5.7/).fitus wrote:what du you mean with local setup w/ drive letters?
i'm on a redhat linux system. my path to imagemagick is
/usr/bin/convert
Perhaps this is the problem:fitus wrote:on my server is installed imagemagick.
http://www.phpwcms.de/forum/viewtopic.php?p=2013#2013
Solution?
I had the same problem (same error message) and found a solution that works wonderfully in my case. All I did was change this line in conf.inc.php:
to this:
Greetings,
Alexander
Code: Select all
$phpwcms["use_gd2"] = 1; //0 = GD1, 1 = GD2
Code: Select all
$phpwcms["use_gd2"] = 0; //0 = GD1, 1 = GD2
Alexander
Update
Update: It works great - except on some single files. I received a "creating thumbnail! wait a moment!" screen for minutes. I guessed the files were too big > 1MB JPEG, so I changed the compression rate and uploaded them again, but now I receive this message (and on some files I still get the "creating thumbnail! wait a moment!" screen for a long time):
I am redirected to the file list - and phpwcms attempts to load the thumbnail but can't locate the file (I get an "image missing" icon in my browser).
Can anyone help? Is the file name too long? Or file compression too high (50% JPEG)? Or are the files just too big (between 2500x3000 and 3000x3000 pixels in RGB)?
Greetings
Alexander
Code: Select all
creating thumbnail! wait a moment!
file=/homepages/11/d92337433/htdocs/phpwcms/phpwcms_filestorage/1/1_71.jpg
file=/homepages/11/d92337433/htdocs/phpwcms/include/inc_lib/ext/hft_image/hft_image.php
Image was not resized. {GD2 suppor is OFF}
file=/homepages/11/d92337433/htdocs/phpwcms/include/inc_lib/ext/hft_image/hft_image.php
thumbnail created
click here to go back
(if no automatic redirect)
Can anyone help? Is the file name too long? Or file compression too high (50% JPEG)? Or are the files just too big (between 2500x3000 and 3000x3000 pixels in RGB)?
Greetings
Alexander
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
OK - bloß mal schnell getestet:
3000x3000 Pixel RGB x 72 dpi = 34.3MB ungepackt + Speicher, der für die Umrechnung benötigt wird - Rest kannst Du Dir denken.
Ein simples JPG hat auf der Platte zwar nur 150kB - aber im Speicher geht es dann unkomprimiert ab...
So - grob geschätzt braucht der Prozeß zum Berechnen eines solch großen Bildes im Speicher etwa 50MB - mein Apache geht von 20MB auf über 70MB beim Erzeugen hoch.
Bei GD1 ist das sicher noch ungünstiger.
Gruß
Oliver
3000x3000 Pixel RGB x 72 dpi = 34.3MB ungepackt + Speicher, der für die Umrechnung benötigt wird - Rest kannst Du Dir denken.
Ein simples JPG hat auf der Platte zwar nur 150kB - aber im Speicher geht es dann unkomprimiert ab...
So - grob geschätzt braucht der Prozeß zum Berechnen eines solch großen Bildes im Speicher etwa 50MB - mein Apache geht von 20MB auf über 70MB beim Erzeugen hoch.
Bei GD1 ist das sicher noch ungünstiger.
Gruß
Oliver
- Oliver Georgi
- Site Admin
- Posts: 9900
- Joined: Fri 3. Oct 2003, 22:22
- Contact: