© Сделано на LiveStreet
Дизайн - ©2009 MODx RED Group
/connectors/system/phpthumb.php?src=icons/1.png&w=80&h=60&f=png&q=90&HTTP_MODAUTH=modx4f3cc493777957.52027339_14f4e088829c388.12167495&wctx=mgr&source=1http://www.site.ru/connectors/system/phpthumb.php?src=icons/3.png<img src="[[+tv.thumb:phpthumbof=`&w=370&h=400`]]" />[[*mytvImage:phpthumb=`&w=100&h=50&zc=1`]]
Так получилось, что мне очень понравился фильтр phpthumbof в MODX Revolution. Но для простых сайтов я по прежнему продолжаю использовать Evolution. <a href="[~[+id+]~]" title="[+title+]"><img src="[+pic:phpthumb=`w=52&h=52&zc=1`+]"></a>« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: Function ereg() is deprecated
Error type/ Nr.: - 8192
File: Y:\home\localhost\www\be\assets\snippets\phpthumb\phpThumb.config.php
Line: 30
Line 30 source: $PHPTHUMB_CONFIG['document_root'] = realpath((getenv('DOCUMENT_ROOT') && ereg('^'.preg_quote(realpath(getenv('DOCUMENT_ROOT'))), realpath(__FILE__))) ? getenv('DOCUMENT_ROOT') : str_replace(dirname(@$_SERVER['PHP_SELF']), '', str_replace(DIRECTORY_SEPARATOR, '/', dirname(__FILE__))));
Parser timing
MySQL: 0.0310 s (9 Requests)
PHP: 0.1022 s
Total: 0.1332 s