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
image resize problem...
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:
maybe you must comment this, same file, line 186:
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.
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>';
*/
Code: Select all
@exec($imagick["command"], $imagick_return);
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.