-
☆ A M B ☆
- 397 Posts
Hi, I have installed phpThumbOf, just like for any other project through the package management tool. I have never had a problem with it working before, but on my most recent website project, it does not work. Let me clarify. I have a TV as an image called *blog-author. The user can upload a portfolio photo of a person. I am using the getResources snippet to make a list of blog entries. The photo is reference in the tpl as such [[+blog-author:phpthumbof=`w=70&h=80&zc=1`]]. In all of my other projects, this works no problem. Even on the same webserver. This time however, when it parces, it just produces the original image and not a resized one. I looked in the error logs and it seems to try to save or reference the optimized image in the wrong directory. It duplicates a directory in the path: This is one excerpt from the error log:
[27] => ImageMagick failed with message (convert: unable to open image `/home/zeugs/public_html/cameraoriginals//cameraoriginals/admin-files/blog-portrait-photos/hoffinger-Birger.jpg’: @ error/blob.c/OpenBlob/2489.
convert: missing an image filename `png:/home/zeugs/public_html/cameraoriginals/pThumbM9kUyV’ @ error/convert.c/ConvertImageCommand/2923.) in file "phpthumb.class.php" on line 1834
It duplicates the folder where the website is installed "/cameraoriginals/"
This error happens a few more times in the error log, where ImageMagick is directed to the wrong directory.
I tried uninstalling phpthumbof and reinstalling, but there was no change.
anyone have any ideas?
Thanks!
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
-
☆ A M B ☆
- 397 Posts
Hi Lucas,
Well, that was sure enough it! What I don’t understand though is that I have used phpthumbof in other projects and have not entcountered this problem until now. Strange, isn’t it?
Thanks a ton!!
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.