<![CDATA[ Can't get phpthumb to work in Evo - My Forums]]> https://forums.modx.com/thread/?thread=83669 <![CDATA[Can't get phpthumb to work in Evo]]> https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461716 I haven't worked with EVO since 2010, but I have an old project that I need to dust off and I wanted to use phpthumb. I use phpthumbof in every REVO project, so I know how to use it... but for some reason in my EVO project it does not work. The GD Library is installed and working on the server.
I have installed the following version of phpthumbof
http://modx.com/extras/package/phpthumbpackage

Version 0.3.2

I have the images.php in my root website folder, and I am using Ditto to loop through a group of resources to print to the page a set of items.

In my chunk I have a placeholder to my image TV like this:
[+myimage:phpthumb=`w=90`+]

The placeholder myimage comes from an image TV and processes properly when I do not use the phpthumb of output filter.

I am using the default phpthumb config file and have installed the px:phpthumb snippet. I can't see what is going wrong. The path that is written by the above chunk is:

http://subdomain.mydomain.com/assets/images/cache/nameofimage.jpg&w=90--150-150.pageCache.jpg&w=90

Not sure why it is calling the page cache here in the path?

Anyone have a clue?


]]>
sonicpunk Apr 04, 2013, 01:31 PM https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461716
<![CDATA[Re: Can't get phpthumb to work in Evo]]> https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461818 http://modx.com/extras/package/phx

to no luck.]]>
sonicpunk Apr 05, 2013, 06:48 AM https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461818
<![CDATA[Re: Can't get phpthumb to work in Evo]]> https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461817
syntax error, unexpected '<'

Parse error: syntax error, unexpected '<' in /serverpath/htdocs/namehere/manager/includes/document.parser.class.inc.php(790) : eval()'d code on line 1]]>
sonicpunk Apr 05, 2013, 06:41 AM https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461817
<![CDATA[Re: Can't get phpthumb to work in Evo]]> https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461815
in the .phpthumb_cache folder, folders are being written but no images are being placed there.

The path to the image that is getting sent to image.php is correct however.]]>
sonicpunk Apr 05, 2013, 06:36 AM https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461815
<![CDATA[Re: Can't get phpthumb to work in Evo]]> https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461805 fourroses666 and it works well.]]> design4music Apr 05, 2013, 05:39 AM https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461805 <![CDATA[Re: Can't get phpthumb to work in Evo]]> https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461759
You can try this version in attachment.

]]>
fourroses666 Apr 05, 2013, 02:14 AM https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461759
<![CDATA[Re: Can't get phpthumb to work in Evo]]> https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461719 sonicpunk Apr 04, 2013, 02:00 PM https://forums.modx.com/thread/83669/can-t-get-phpthumb-to-work-in-evo#dis-post-461719