image resize problem...

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
KIer
Posts: 11
Joined: Fri 17. Feb 2006, 20:38

image resize problem...

Post by KIer »

I'm using phpwcms v1.2.6-DEV 14.12.2005.

just a few days ago, the image resize suddenly failed to work. I can create article or content with image and text.

but when view the article in frontend, the whole site freeze!

but when view those article posed before the date the problem starts, those articles and conetents render the image in correct sizes.

it was all fine few days ago. I've been fine tuning the whole CMS by visiting this forum trying out different MODs and scripts here and there. So I'm not sure which code changes could cause this problem.

anyone got any idea what could be the cause for the image reisize to not working and freeze?

many thanks in advance.

KIEr
Baran
Posts: 8
Joined: Mon 27. Feb 2006, 14:51
Location: germany / karlsruhe
Contact:

Post by Baran »

I guess their is a problem with the graphic application...
what do you use, gd or imagemagick?

their is a fine way to test it if you use imagemagick:
open "include\inc_lib\imagick.convert.inc.php", line 180, uncomment this block:

Code: Select all

/*
echo '<pre>';
print_r($imagick["command"]);
echo '</pre>';
*/
maybe you must comment this, same file, line 186:

Code: Select all

@exec($imagick["command"], $imagick_return);
You should get the parameters for each picture who have no thumbnail.
Their is also the command parameter, this will be executed to create the thumbnail. open an console to your server, copy and paste the command, a see what happend.
nika
Posts: 43
Joined: Sat 13. Mar 2004, 15:40

safe mode

Post by nika »

your php in safe mode
Post Reply