علامة مائية على الصورة

@LaptechInfo, the issue has been fixed; once you upgrade Discourse, this should work!

إعجابَين (2)

Thank you. I will check

إعجاب واحد (1)

its working good. now.
but no option to add text as watermark
Thank you

إعجاب واحد (1)

@LaptechInfo That’s the reason. I originally started working with text, but the ability to create/display options in Discourse is limited. You have a lot of tools online where you can easily make an image with text.

إعجابَين (2)

You are right. lots of tools are there to create text style.
Great job you have done. I appreciate your work and efforts.
:+1::+1::+1:
:clap::clap::clap:

إعجابَين (2)

Thanks for your plugin, after adding watermark can I adjust the image quality reduction level?

I think Its not possible.

إعجابَين (2)

The watermark is applied client-side before the image is uploaded server-side, so the TC has no control on the final image quality. I believe yo have the following site setting to control it:

But also:

3 إعجابات

一直卡在这里这是什么情况?

Can you check your browser’s console if you see any errors?

TypeError: NetworkError when attempting to fetch resource.

Do you see only this error? Don’t hesitate to take a screenshot of the console!

Does it work when uploading one image at a time? Or does it fail all the time for any upload?

YES,

Interesting :thinking:. The component applies the watermark client-side in the background (Web Worker), so I would assume something is happening in this context. I’m unsure what, though.

Does the image preview with your watermark image in the theme settings work without errors?

إعجابَين (2)

Hi, I have suggestion. if you could enable the function of watermark on Discourse channels also.
that will be a great feature.

Thank you :blush:
@Arkshine

إعجابَين (2)

On Discourse 3.4.2 image watermark works, but QR Code or text are not added, tried multiple files, hard refresh etc. Anyone else with same issue?

My settings:

إعجاب واحد (1)

Thanks for the report. Let me check again to see if I missed something.

@jrgong One of the issues I noticed is related to the color. The CSS variable in Discourse now uses shorthand color (e.g., #fff instead of #ffffff), but the lib wants the full format.
So in Watermark qrcode color and Watermark qrcode background color, use the full format:

I will update the TC soon.

إعجاب واحد (1)

That fixed it, thx! :slight_smile:

إعجاب واحد (1)

此组件会导致无法上传Gif,如启用此选项上传Gif将自动转为png格式。
image

إعجاب واحد (1)

Can you not use GIFS and this watermark theme component at the same time?