Hi!
2.0.7 is indeed much faster and great to work with. Thanks to the developers!
Unfortunatly, I still cannot use the Gallery snippet properly. The thumbnails are created every time a page is (re)loaded which takes a lot of time and sometimes cause thumbnails to be missing.
Using the exact example from the rtfm.modx.com docs, I get errors like these:
[2011-01-15 15:44:13] (ERROR @ /homepages/19/d101320974/htdocs/2010-08_modx2/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’which convert 2>&1’
[2011-01-15 15:44:28] (ERROR @ /homepages/19/d101320974/htdocs/2010-08_modx2/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’convert -help 2>&1’
[2011-01-15 15:44:28] (ERROR @ /homepages/19/d101320974/htdocs/2010-08_modx2/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’convert logo: -resize 1x "/homepages/19/d101320974/htdocs/2010-08_modx2/assets/components/gallery/pThumbysG5XV" 2>&1 2>&1’
[2011-01-15 15:44:28] (ERROR @ /homepages/19/d101320974/htdocs/2010-08_modx2/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’convert -background "#FFFFFF" -resize x100 -gravity center -crop 100x100+0+0 "/homepages/19/d101320974/htdocs/2010-08_modx2/assets/components/gallery/files/2011/01/dscn1718_520.jpg[0]" jpeg:"/homepages/19/d101320974/htdocs/2010-08_modx2/assets/components/gallery/pThumbysG5XV" 2>&1 2>&1’
[2011-01-15 15:44:28] (ERROR @ /homepages/19/d101320974/htdocs/2010-08_modx2/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’convert logo: -resize 1x "/homepages/19/d101320974/htdocs/2010-08_modx2/assets/components/gallery/pThumbEnTKsK" 2>&1 2>&1’
[2011-01-15 15:44:28] (ERROR @ /homepages/19/d101320974/htdocs/2010-08_modx2/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’convert -background "#FFFFFF" -resize x100 -gravity center -crop 100x100+0+0 "/homepages/19/d101320974/htdocs/2010-08_modx2/assets/components/gallery/files/2011/01/dscn1718_520.jpg[0]" jpeg:"/homepages/19/d101320974/htdocs/2010-08_modx2/assets/components/gallery/pThumbEnTKsK" 2>&1 2>&1’
[2011-01-15 15:44:29] (ERROR @ /homepages/19/d101320974/htdocs/2010-08_modx2/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’which convert 2>&1’
[2011-01-15 15:45:06] (ERROR @ /homepages/19/d101320974/htdocs/2010-08_modx2/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’which convert 2>&1’
[2011-01-15 15:45:06] (ERROR @ /homepages/19/d101320974/htdocs/2010-08_modx2/core/model/phpthumb/phpthumb.functions.php : 474) PHP warning: shell_exec() [<a href=’function.shell-exec’>function.shell-exec</a>]: Unable to execute ’which convert 2>&1’
Is there an easy solution to this problem?
php is 5.2.17. What further information do you need?
Jörg