Watermark appearing on URL Scan images and Profile pictures

iamtimbo
@iamtimbo
7 years ago
301 posts
Morning all,

I have reluctantly had to turn the watermarking feature on to try and deter people from appropriating images, but the watermark is appearing on profile pictures, and even more inappropriately on URLscan thumbnails. It gives the impression of taking credit for images that aren't yours but the BBC's or whoever.

Is there any fine tuning that can be done by me to filter by quota or image type?
IMG_4345.PNG.png
IMG_4345.PNG.png  •  121KB


updated by @iamtimbo: 06/23/17 03:27:29PM
paul
@paul
7 years ago
4,326 posts
Yes - I see what you mean. There are optional filters on image width. What additional filters do you think would be useful? Let me know and I will investigate if its possible.
Thanks
Pa


--
Paul Asher - JR Developer and System Import Specialist
iamtimbo
@iamtimbo
7 years ago
301 posts
Well, speaking selfishly (!), I can't see why anyone would ever want it on a profile picture or an URLscan image.

Thinking ahead, although it hasn't come up, images in forum posts could end up being inappropriately watermarked, but I don't know how that could be dealt with practically.
paul
@paul
7 years ago
4,326 posts
So an option for the watermark to only apply to uploaded gallery images?


--
Paul Asher - JR Developer and System Import Specialist
iamtimbo
@iamtimbo
7 years ago
301 posts
I guess that would be the simple way to put it! :)
updated by @iamtimbo: 02/26/17 02:23:20PM
michael
@michael
7 years ago
7,714 posts
have just looked at the code to see if there is a simple way around it. I can't see one.

The issue is that the watermark feature gets added to any image that is run through the image system.

Currently the way around it would be to create a simple module that listened for the image being displayed, maybe on the 'module_view' event. And in that module view listener, turned ON the watermarking IF the event was 'jrGallery'/'gallery_image'.

and do nothing for all others.
iamtimbo
@iamtimbo
7 years ago
301 posts
Ok - I think that will require considerable further investigation on my part! Thank you for looking into it.
paul
@paul
7 years ago
4,326 posts
It may be that the watermarking feature is not being used by many Jamroom sites so the issues you have are significant and a resolution will help others in the future, so keep us informed so that we can consider any further action to take.
Thanks


--
Paul Asher - JR Developer and System Import Specialist
lornawebber
@lornawebber
7 years ago
334 posts
I am just looking at the watermarking feature as we have had some instances of people using site images against the terms of Service.
Would it be possible for the watermark to be applied to a gallery image on upload, switchable by user setting?
michael
@michael
7 years ago
7,714 posts
currently its an admin setting. If you wanted to make it a user setting it would require a custom module.

An overview would be use the Events and Listeners system to apply the watermark setting under circumstances you're interested in.

Docs: "Events and Listeners"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/1011/events-and-listeners