Hello,
I am trying to show (and cache inside my MODx) pictures from remote server. My website has address e.g.
http://www.jumpkey.cz and I want to show there pictures from domain:
http://www.autocaris.cz.
This document says it is possible:
http://phpthumb.sourceforge.net/demo/docs/phpthumb.faq.txt
Inside MODx SYSTEM CONFIGURATION there are lot of options (filter by area PHPTHUMBOF). I tried all of them and I still can't show these images from remote server (domain).
Image address is:
http://www.autocaris.cz/car_foto/1289/203170/1.jpg
and I am trying to show it from my snippet by this code:
$car_param['input']= '
http://www.autocaris.cz/car_foto/1289/203170/1.jpg';
$car_param['options']= '&w=210&h=160&zc=1&q=90';
$car = $modx->runSnippet('phpthumbof', $car_param);
echo '<img src="'.$car.'" alt="carTitle" title="carTitle" />';
----
Is there anybody who can help me to solve this problem? Can anybody spent a few minutes to insert this code into MODx and try it?
Thank you very much