phpthumb - Modx phpthumbof have no effect on image -
<img src = "[[+tv.img:phpthumbof=`w=180&h=150`]]">
this construction returns image original size
- i tried create phpthumbof/cache 777
- i tried reinstall phpthumbof
- imagemagick installed in php
- "phpthumb:...allow...docroot..." enabled in config
- i tried "pthumb", same result
i think way attempting use issue, can either try:
<img src = "[[!phpthumbof? &input=`[[+tv.img]]` &options=`&w=180&h=150`]]">
or change tv output type "image" then:
[[+tv.img:phpthumbof=`w=180&h=150`]]
should work.
i think might happening tv output path & phpthumbof can't path needs actual image input ~ it's getting ignored.
Comments
Post a Comment