We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38878
    • 255 Posts
    Ok. Well there's http://www.belafontecode.com/image-manipulation-with-phpthumbof-in-modx-revolution/

    There's a TV example there and more than you might ever want to know about phpthumbof. Good reference.
      • 18367
      • 834 Posts
      Harvey,

      er, yeah, that's what I've been trying to use with no luck.
        Content Creator and Copywriter
        • 36926
        • 701 Posts
        Quote from: markg at Mar 03, 2013, 11:33 PM
        Quote from: joshuam at Mar 03, 2013, 10:03 AM
        try this:

        [[!phpthumbof? &input=`[[+tv.boximage]]` &options=`w=120&h=120`]]

        Josh,

        that makes the image disappear.

        I know it's prob a silly question, but phpthumbof is installed right?

        Have you tried deleting and reinstalling as Joshs example above should work.

        What url is generated in the src for when you do this:
        <img src="[[+tv.boximage:phpthumbof=`w=120&h=120`]]" />
        


        It should be something like:
        /assets/components/phpthumbof/cache

          • 18367
          • 834 Posts
          Benny,

          yes it is installed

          Yes I've tried reinstalling it.

          No it still doesn't work.

          Not sure what you mean by your last question but this code
          <img src="[[+tv.boximage:phpthumbof=`w=120&h=120`]]" />
          brings up the image but does not resize it.

          The image path is to the actual image.

            Content Creator and Copywriter