phpthumb - Modx phpthumbof have no effect on image -


<img src = "[[+tv.img:phpthumbof=`w=180&h=150`]]"> 

this construction returns image original size

  1. i tried create phpthumbof/cache 777
  2. i tried reinstall phpthumbof
  3. imagemagick installed in php
  4. "phpthumb:...allow...docroot..." enabled in config
  5. 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

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -