<img src="[*banner01:phpthumb=`w=940&h=250&zc=c`*]" height="250" width="940" alt="[*pagetitle*]" />
<img src="[[phpthumb? &input=`[*thumbnail*]` &options=`w=336,h=280,zc=1`]]" alt="[*pagetitle*]"/>
(...)
but seems working only with image tvs with relative path like /assets/images/myimage.jpg
image tv with absolute path, like www.mydomain.com/assets/images/myimage.jpg, phpthumb output a "noimage.jpg"
$PHPTHUMB_CONFIG['allow_local_http_src'] = false; // If true, 'src' parameter can be "http://<thishostname>/path/image.ext" instead of just "/path/image.ext"; if false then display warning message to encourage more efficient local-filename calling.
Error : Missing argument 9 for ditto::render(), called in /home4/nuclide/public_html/www1.site.com/manager/includes/document.parser.class.inc.php(1005) : eval()'d code on line 1026 and defined ErrorType[num] : WARNING[2] File : /home4/nuclide/public_html/www1.site.com/assets/snippets/ditto/classes/ditto.class.inc.php Line : 259 Source : function render($resource, $template, $removeChunk,$dateSource,$dateFormat,$ph=array(),$phx=1,$x=0,$stop) { Basic info REQUEST_URI : /install/ Resource : [1]Title page Current Snippet : Ditto Referer : User Agent : Mozilla/5.0 (Windows NT 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.76 Safari/537.36 IP : 0.0.0.0 Benchmarks MySQL : 0,0114 s (12 Requests) PHP : 0,0577 s Total : 0,0691 s Memory : 4,6365814209 mb Backtrace 1 DocumentParser->executeParser() index.php on line 140 2 DocumentParser->prepareResponse() manager/includes/document.parser.class.inc.php on line 1568 3 DocumentParser->parseDocumentSource() manager/includes/document.parser.class.inc.php on line 1658 4 DocumentParser->evalSnippets() manager/includes/document.parser.class.inc.php on line 1450 5 DocumentParser->_get_snip_result() manager/includes/document.parser.class.inc.php on line 1061 6 DocumentParser->evalSnippet() manager/includes/document.parser.class.inc.php on line 1147 7 eval() manager/includes/document.parser.class.inc.php on line 1005 8 ditto->render() manager/includes/document.parser.class.inc.php(1005) : eval()'d code on line 1026
my phpthumb works fine with this kind of call
<img src="[[phpthumb? &input=`[*thumbnail*]` &options=`w=336,h=280,zc=1`]]" alt="[*pagetitle*]">
but seems working only with image tvs with relative path like /assets/images/myimage.jpg
image tv with absolute path, like www.mydomain.com/assets/images/myimage.jpg, phpthumb output a "noimage.jpg"