עטיפת תמונה במים

@LaptechInfo, הבעיה תוקנה; ברגע שתעדכן את Discourse, זה צריך לעבוד!

2 לייקים

תודה. אבדוק

לייק 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 לייקים

Why is it stuck here?

אתה יכול לבדוק את קונסול הדפדפן שלך אם אתה רואה שגיאות כלשהן?

TypeError: שגיאת רשת בעת ניסיון לאחזר משאב.

אתה רואה רק את השגיאה הזאת? אל תהסס לצלם מסך של הקונסולה!

זה עובד כאשר מעלות תמונה אחת בכל פעם? או שזה נכשל תמיד בכל העלאה?

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

This component will cause GIFs to fail to upload. If this option is enabled, uploaded GIFs will automatically be converted to PNG format.
image

לייק 1

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