We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 54168
    • 1 Posts
    Галерея создается с использованием MIGX.

    Пробую вот так, но не выводится водяной знак

    <li>
      <img src="[[+image:phpthumbof=`w=200&h=400&zc=1&fltr=wmi|/assets/components/templates/img/watermark.png|C|100|0|0`]]" alt="" />
    </li>
    
      • 54171
      • 7 Posts
      [[+image]] displays not the path to the file, but the request already generated through the connector using phpthumb parameters:


      / assets/components/gallery / connector.php?action=web / phpthumb&ctx=web&w=500&h=500&zc=0&far=&q=90&src=%2Fassets%2Fgallery%2F1%2F1.PNG

      Accordingly, if you use pThumb that he should be fed only the path of the file that is in the tank is displayed by the placeholder [[+image_absolute]]:

      << < a href="[[+image_absolute:pthumb=`fltr[]=wmi|/assets/tpl/img/watermark.png|BR|70|5|5|0`]]" rel= "colorbox" title= " [[+name]]">
      <img class=" [[+imgCls]] "src=" [[+thumbnail]] "alt=" [[+name]]" / >
      </a>


      Alternatively, use in the challenge Gallery image Properties parameter, where you specify the right query parameters in JSON format:

      &&image Properties= ' {"for []": "my|/assets/tpl/img/watermark.png|BR|70|5|5|0"}`

      Then, of course, and put a placeholder [[+image]] and thumb not needed