We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22827
    • 129 Posts
    Hello,

    Could someone tell me the right syntax for passing an array in JSON through to phpThumb via thumbProperties?

    I have tried

    &thumbProperties=`{ "fltr":["brit",20] }`
    


    and

    &thumbProperties=`{ "fltr":"brit|20" }`
    


    and

    &thumbProperties=`{ "fltr[]": "brit|20"}`
    


    And all break thumbnail display. The first one seems most logical, as the snippet converts the json array to a php array correctly.

    Any tips?


    This question has been answered by paulkoan. See the first response.

    • discuss.answer
      • 22827
      • 129 Posts
      Ok, the last option was the right one, there was a different problem that was preventing thumbnail creation.