We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20178
    • 82 Posts
    hi i can apply phpthumbof to an image placeholder but can’t seem to apply direct to a URL



    <img src="[[++base_url]]assets/candidateimages/[[+fullname]]pic.jpg" alt="">


    i know with a placeholder it works like the following and i have got this to work no problem

    <img src="[[*image4:phpthumbof=`w=980&h=230&zc=1`]]" alt="[[*image4title]]" title="[[*image4title]]" />
      • 20178
      • 82 Posts
      for anyone else stuck on this;

      <img src="[[phpthumb? &input=`[[++base_url]]assets/candidateimages/[[+modx.user.username]]pic.jpg` &options=`&w=980&h=230&zc=1` &onlysrc=`1`]]" alt="[[*image1title]]" title="[[*image1title]]" usemap="#img1map" />

      https://github.com/jaredloman/PHPThumb-Output-Filter#readme