# Watermark on images with user name on it

**URL:** <https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389>\
**Category:** Marketplace\
**Created:** [July 19, 2019, 9:26am UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389 "2019-07-19T09:26:44Z")\
**Posts on this page:** 20\
**Page:** 1

## AI-generated summary

[BishopV](/t/-/123389/1) is looking for a feature to add a watermark with the username of the viewer to images on their Discourse site. This is to prevent users from sharing images outside of the community. [merefield](/t/-/123389/2) is interested in taking on the task but has concerns about the practicality of the requirement, as it would involve generating a large number of watermarked images.

[Falco](/t/-/123389/7) points out that this could be prohibitively costly, and [merefield](/t/-/123389/10) agrees. [BishopV](/t/-/123389/11) explains that the goal is to deter users from sharing images by making it clear who shared them.

[Merefield](/t/-/123389/12) suggests that watermarking on the server or using JavaScript could be options, but both have significant drawbacks. [pfaffman](/t/-/123389/13) suggests using a site setting to prevent anonymous users from downloading attachments, but notes that this is not foolproof.

[Mevo](/t/-/123389/14) proposes adding a generic watermark with the forum name instead, which could be a more effective and simpler solution. [BishopV](/t/-/123389/15) also asks if it's possible to track who downloads images, but [Mevo](/t/-/123389/16) and [pfaffman](/t/-/123389/18) indicate that this is unlikely.

Ultimately, [BishopV](/t/-/123389/17) seems to accept that adding a generic watermark or using the site setting to prevent anonymous downloads may be the best solution. [pfaffman](/t/-/123389/22) provides instructions on how to find the site setting, but notes that it won't achieve the desired outcome.

<div class="post-metadata">

**Author:** ![BishopV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bishopv/32/185715_2.png) [@BishopV](https://meta.discourse.org/u/BishopV)\
**Post date:** [July 19, 2019, 9:26am UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/1 "2019-07-19T09:26:44Z")

</div>

im looking a customize job to create a watermark feature on images , but the watermark name base on every different member , let’s say im a user and ID name is ABC…so every images i saw with ABC watermark , if some member ID is XYZ , and those images seeing from XYZ watermark is XYZ .

not really rushing for this feature , but we confirmed really need it .

please let me know how much u can offer .

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [July 19, 2019, 9:44am UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/2 "2019-07-19T09:44:07Z")

</div>

I’m a little busy right now, but would be interested to pick this up when things quieten down so your priority level might suit us both.

It could sit nicely in Topic List Previews as an option, given that plugin is used by so many image focussed sites.

I will explore feasibility for integration into the Discourse codebase and prepare an estimate for you when I get chance.

---

<div class="post-metadata">

**Author:** ![BishopV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bishopv/32/185715_2.png) [@BishopV](https://meta.discourse.org/u/BishopV)\
**Post date:** [July 19, 2019, 9:45am UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/3 "2019-07-19T09:45:34Z")

</div>

thanks robert ..hope will hear u soon .

---

<div class="post-metadata">

**Author:** ![thaidb](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thaidb/32/68488_2.png) [@thaidb](https://meta.discourse.org/u/thaidb)\
**Post date:** [July 21, 2019, 4:31am UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/5 "2019-07-21T04:31:46Z")

</div>

Me too wanna this plugin

---

<div class="post-metadata">

**Author:** ![BishopV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bishopv/32/185715_2.png) [@BishopV](https://meta.discourse.org/u/BishopV)\
**Post date:** [July 21, 2019, 5:27am UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/6 "2019-07-21T05:27:30Z")

</div>

maybe we can share the cost

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [July 21, 2019, 2:30pm UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/7 "2019-07-21T14:30:36Z")

</div>

Isn’t this phrobitively costly?

For a forum with 10k users and 100k images you need to generate 1000000000 images for each resolution and thumbnails.

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [July 21, 2019, 2:38pm UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/8 "2019-07-21T14:38:11Z")

</div>

> [@Falco](#):
>
> For a forum with 10k users and 100k images you need to generate 1000000000 images for each resolution and thumbnails.

I’d interpreted the requirement differently, but could be wrong! 🙂

@BishopV are you suggesting that when a user uploads an image, a watermark is added to the uploaded image to reflect the username who uploaded them?

---

<div class="post-metadata">

**Author:** ![BishopV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bishopv/32/185715_2.png) [@BishopV](https://meta.discourse.org/u/BishopV)\
**Post date:** [July 21, 2019, 4:27pm UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/9 "2019-07-21T16:27:04Z")

</div>

Robert , nope I mean every viewer have different watermark based on viewer username. Not the uploader .i think @Falco he right

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [July 21, 2019, 4:36pm UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/10 "2019-07-21T16:36:08Z")

</div>

In that case I share his concern at the practicality of this requirement. What is your business case for this feature?

---

<div class="post-metadata">

**Author:** ![BishopV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bishopv/32/185715_2.png) [@BishopV](https://meta.discourse.org/u/BishopV)\
**Post date:** [July 21, 2019, 4:43pm UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/11 "2019-07-21T16:43:19Z")

</div>

Just we don’t want people share our picture to others and at least we know who’s are shared . And if the feature there he might be not dare to share

---

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [July 21, 2019, 4:49pm UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/12 "2019-07-21T16:49:21Z")

</div>

Got you.

There’s no way you could practically pre-process for that.

You either have to watermark on the server, when serving the images (blimey, hope you’ve got deep pockets for an almighty computer, even if that were possible).

OR

One could try and watermark on the javascript layer … I’m not sure how easily that would integrate … can’t image the performance of that would be good … and it would be insecure and open to hacks (because you’d have had to serve up the originals)

Perhaps someone here has experience of doing exactly this?

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 21, 2019, 4:57pm UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/13 "2019-07-21T16:57:30Z")

</div>

The best you can do is this site setting:

### prevent anons from downloading files

> [@](#):
>
> Prevent anonymous users from downloading attachments. WARNING: this will prevent any non-image site assets posted as attachments from working.

Mostly, if you put something on the internet, then people can get it.

---

<div class="post-metadata">

**Author:** ![Mevo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mevo/32/187732_2.png) [@Mevo](https://meta.discourse.org/u/Mevo)\
**Post date:** [July 21, 2019, 5:21pm UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/14 "2019-07-21T17:21:07Z")

</div>

**Wouldn’t it be far easier to add a “generic” watermark with the forum name ?**  
As you say, @BishopV, usually a watermark prevents people from sharing the image (at least publicly), and in any case, prevents them from claiming ownership/being the author.

I guess that anybody a little clever and wanting to get images to spread them, would create another user just for that purpose. So, you are willing to go a pretty complicated route for probably no good reason. A generic watermark seems a good solution to me.

---

<div class="post-metadata">

**Author:** ![BishopV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bishopv/32/185715_2.png) [@BishopV](https://meta.discourse.org/u/BishopV)\
**Post date:** [July 21, 2019, 5:23pm UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/15 "2019-07-21T17:23:33Z")

</div>

Btw any possible we can know who’s download the picture ? Or specific which images ?

---

<div class="post-metadata">

**Author:** ![Mevo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mevo/32/187732_2.png) [@Mevo](https://meta.discourse.org/u/Mevo)\
**Post date:** [July 21, 2019, 5:29pm UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/16 "2019-07-21T17:29:50Z")

</div>

> [@pfaffman](#):
>
> Prevent anonymous users from downloading **attachments**. WARNING: this will prevent any **non-image** site assets posted as attachments from working

If I understood correctly, his problem is specifically with images, so I guess this wouldn’t help, or would it ?

> [@BishopV](#):
>
> Btw any possible we can know who’s download the picture ?

I’m not 100% sure, but I don’t think so. If the image is loaded to be shown in the user’s browser, then it probably can be saved without you knowing it.

---

<div class="post-metadata">

**Author:** ![BishopV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bishopv/32/185715_2.png) [@BishopV](https://meta.discourse.org/u/BishopV)\
**Post date:** [July 21, 2019, 5:31pm UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/17 "2019-07-21T17:31:48Z")

</div>

I think this is the best and last solution I can do . Btw how to prevent people download it ?

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 21, 2019, 10:10pm UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/18 "2019-07-21T22:10:37Z")

</div>

You would turn on the site setting that I called by name. Do you have discourse installed?

---

<div class="post-metadata">

**Author:** ![BishopV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bishopv/32/185715_2.png) [@BishopV](https://meta.discourse.org/u/BishopV)\
**Post date:** [July 22, 2019, 1:56am UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/19 "2019-07-22T01:56:52Z")

</div>

Hi jay , yup we are using discourse right now , just not sure where is the setting .

---

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [July 22, 2019, 5:48am UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/20 "2019-07-22T05:48:04Z")

</div>

> [@pfaffman](#):
>
> the site setting that I called by name

This does not change any behaviour with respect to images, only for non-image attachments.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 22, 2019, 12:42pm UTC](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389/22 "2019-07-22T12:42:44Z")

</div>

Oops. Thanks, Richard. I didn’t post close enough attention. I was thinking that it would break images for all non logged in users, which didn’t quite make sense.

To find it (though it won’t do what you want) you would go to system settings and search for ‘prevent’. The search here is really powerful, searching the setting titles, descriptions, and values.

[Next page](https://meta.discourse.org/t/watermark-on-images-with-user-name-on-it/123389.md?page=2)
