We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27672
    • 168 Posts
    this ’chunk’ was being called by the ’getResources’ snippet:
    <div style="float:left; padding:0 5px 5px 0;">
      <a class="lightbox" href="[[~177]]?fbs=fbs[[+idx]]">
        <img src="[[phpThumbOf? &input=`[[+tv.fancybox_Image]]` &options=`&w=115&h=75&q=65`]]" alt="[[+longtitle]]" width="115" height="75" rel="fbs[[+idx]]" title="fbs[[+idx]]" class="fbsGridTrigger" />
      </a>
    </div>


    in the html this results in something like:
    <img src="" alt="blah blah blah" width="115" height="75" rel="fbs9" title="fbs9" class="fbsGridTrigger" />


    any quick insight as to why phpthumbof isn’t working? the move was to a godaddy server, php5. do any special libraries need to be installed that maybe aren’t on this server? installed phpthumbof through the package manager. have tried [[! and [[ and ’phpthumbof’ as well as ’phpThumbOf’ (not sure if capitalization makes any difference in snippet calls. thanks in advance.
      • 27672
      • 168 Posts
      [SOLVED]

      used this syntax instead:

      <div style="float:left; padding:0 5px 5px 0;">
        <a class="lightbox" href="[[~177]]?fbs=fbs[[+idx]]">
          <img src="[[+tv.fancybox_Image:phpthumbof=`&w=115&h=75&q=65`]]" alt="[[+longtitle]]" width="115" height="75" rel="fbs[[+idx]]" title="fbs[[+idx]]" class="fbsGridTrigger" />
        </a>
      </div>
        • 1809
        • 15 Posts
        I installed phpthumbof 1.1.0 pl and I struggled with code for hours (I was using copy-pasted code from a previous site so I didn’t understand what could be the problem, this is the code of my chunk: <img src="[[+tv.img_box:phpthumbof=`w=220&zc=1&f=jpg`]]" /> ), then I just replaced the latest phpthumbof snipped code with 1.1.0 rc1 snipped code and everything now works well...
        Anyone with same problem? Thanks in advance.
        - MODx Revo 2.0.8 Traditional