26 May 2017 at 11:14 #18082
As I’m developing a stockphotosite it is for me very important to protect my product images from “stealing”.
That’s why I downloaded your Image Watermark plugin. It works great, especially the option to add a watermark to distinctive post and image types. Thumbs up!
However I stumble into an issue. When a page is zoomed (product-archive or single product page) the watermark vanishes. This way a bad willing visitor is able to make a screenshot, cut out the image and work with it without payment. That is not what I wish for.
I have tested it on the mac, using Chrome, Safari, Firefox and Opera. They all suffer from this in its own way. It is not consistent on every browser the same way nor it happens every time (on Safari). Most of the times a page reload brings back the watermark but that is not in any case.
You can download two screenshots from here (will be only available for a short amount of time)
Is it a bug or am I doing something wrong here.
I hope to hear soom,
Adri31 May 2017 at 13:03 #18148
Anyone?2 June 2017 at 12:43 #18183BartoszKeymaster
It’s a very strange issue, honestly I don’t know how it’s possible.
Image watermark does not put a watermark in a form of overlay, it integrates with an image (becomes a part of an image). So zooming in/out or any HTML/js manipulations should not remove it.
Question is to what image sizes you apply watermark on – if all image sizes get watermarked it’s just impossible to happen.
The only thing I can think of at the moment – the srcset attribute introduced in WP 4.4. Maybe the hidden “medium_large” image size used in srcset did not get watermarked and is being displayed when you zoom the browser? (you could check that by disabling srcset – there are some snippets in the web for this)7 June 2017 at 16:37 #18343
Thank you for your reply, I take the liberty to mail you two screenshots.
The first is at browser zoom 100% and the second at browser zoom 110%.
The automatic apply for the watermark is set to shop_catalog, shop_single ant shop_thumbnail.
Just thinking about it…. as you can see is my product archive lay-out in a masonry fashion. The strength of it is in the ability to generate a newly re-arranged page when the screen size changes. I’m using the script(s) found here: https://masonry.desandro.com/
Is it possible that when the window size changes (or the zoom factor) new thumbnails are generated on the fly?
And if so, what can we do about it?
HTH and best wishes,
Adri8 June 2017 at 10:12 #18362BartoszKeymaster
It’s not possible that thumbnails are generated on the fly (even though can be technically done, it makes no sense).
Please try to apply the things i mentioned in the reply – disable srcset (using a code snipped added to your theme functions.php file) and test, watermark other images sizes (especially medium_large) and test.
There must be a logical explanation of this issue.13 June 2017 at 09:37 #18479
Sorry for m late response, somehow I missed the notification in my email.
I tried to disable srcset by using his filter:
add_filter( 'wp_calculate_image_srcset', '__return_false' );
That works in Chrome, Safari, Opera and Firefox (on the mac at least).
As I’m not a coder (in any case not an experienced one) I don’t know what it does or what Has caused the problem but it seems to be resolved.
Thank you for your help.
- You must be logged in to reply to this topic.
How Does FOLDERS affect the file system?
4 days, 20 hours ago
3 Galleries on one page, but all of them in one Lightbox
5 days, 4 hours ago
Do not show a view to a certain role
5 days, 19 hours ago
Has a recent WordPress/WooCommerce update broken Math Captcha?
1 week, 4 days ago
Issue in a Woodworking blog
1 week, 4 days ago
Image caption of the first image is not showing up
by Mitsuhisa Yamada
1 week, 5 days ago
Cannot configure caption in lightbox
1 week, 5 days ago
ACF with lightbox
by Sheree Walker
1 week, 6 days ago
How can I modify the plugin code to extract the view count to a post meta value?
2 weeks, 1 day ago
Download Statistics / Analytics
2 weeks, 4 days ago