We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3186 ☆ A M B ☆
    • 279 Posts
    Hi all,

    I’m using Gallery to view some screenshots and I want to apply a watermark by each image. So I made the property "imageProperties" on the Gallery snippet with a json object value like &imageProperties=`{"fltr":{"":"wmi|assets/images/watermark.png"}}` but the watermark isn’t applied to the images. When I change wmi into wmt there is a text "assets/images/watermark.png" on my new image, so the json object is correctly setupped.

    Does wmi work at all? I cannot find any weird things; in phpthumb class the fltr wmi isset as expected...

    If someone has experience with it; let me know!

    Regards, Bert
      MODX Ambassador (NL) & Professional MODX developer
      Follow me on Twitter | Visit my page on Facebook | View my code on Github | View my script posts
      MODX e-commerce solution SimpleCart
      • 3186 ☆ A M B ☆
      • 279 Posts
      Found a solution;
      https://github.com/splittingred/Gallery/issues/124

      Basicly; phpthumb doesn’t know the absolute path to the watermark image. With this fix it works!
        MODX Ambassador (NL) & Professional MODX developer
        Follow me on Twitter | Visit my page on Facebook | View my code on Github | View my script posts
        MODX e-commerce solution SimpleCart
        • 44030
        • 2 Posts
        if you need create or edit watermarks , ican give you some advices , you can try this imaging sdk which contains such a function. it can be applied in c#, vb,etc. Install it and it becomes a selectable processing option.Then you can create and edit watermarks in any program at all, including Adobe Acrobat . Just open the images, select watermark ,and follow the setps given in the sdk, the task will be finished in several seconds.you can then zoom in and zoom out , or adjust the light of the watermark on your own will. if you haven´t found a good choice , you can have a try. best wishes.