‘Full’ stays unwatermarked with big images
-
So, I’ve checked it multiple times. Even created a new wordpress site on another hosting from the clear slate with just 2 added plugins (wordpress and this one):
Encountered a problem – plugin messes up when ‘-scaled’ images are present/generated by wordpressAnd when I forced my site to not create ‘-scaled’ images with big files – result stays the same
So here’s an example on main site:
11.11.2298.jpg – 3264×2448 picture. Stays unwatermarked
These all are unwatermarked:
11.11.2298-100×100.jpg
11.11.2298-300×225.jpg
11.11.2298-400×267.jpg
11.11.2298-500×375.jpg
11.11.2298-768×576.jpg
11.11.2298-scaled.jpg
11.11.2298-scaled-100x100_br_backup.jpg
11.11.2298-scaled-300x225_br_backup.jpg
11.11.2298-scaled-400x267_br_backup.jpg
11.11.2298-scaled-500x375_br_backup.jpg
11.11.2298-scaled_br_backup.jpgOnly these ones are
11.11.2298-scaled-100×100.jpg
11.11.2298-scaled-300×225.jpg
11.11.2298-scaled-400×267.jpg
11.11.2298-scaled-500×375.jpgAnother one on my main site:
2022-22-22_10-37-13.jpg 693x694 - watermarked and all is done correctly. Probably because file's dimensions are not big enough to generate '-scaled' images. Watermarked: 2022-22-22_10-37-13-100x100.jpg 2022-22-22_10-37-13-300x300.jpg 2022-22-22_10-37-13-400x267.jpg 2022-22-22_10-37-13-500x501.jpg Originals: 2022-22-22_10-37-13-100x100_br_backup.jpg 2022-22-22_10-37-13-300x300_br_backup.jpg 2022-22-22_10-37-13-400x267_br_backup.jpg 2022-22-22_10-37-13-500x501_br_backup.jpg 2022-22-22_10-37-13_br_backup.jpg
After that I enforced not creating ‘-scaled’ images. Added this line to the end of functions.php:
add_filter( 'big_image_size_threshold', '__return_false' );
Here’s the result:zzz.jpg 2560x1920 stays unwatermarked No watermark: zzz-100x100_br_backup.jpg zzz-300x225_br_backup.jpg zzz-400x267_br_backup.jpg zzz-500x375_br_backup.jpg zzz-768x576_br_backup.jpg zzz_br_backup.jpg Watermarked: zzz-100x100.jpg zzz-300x225.jpg zzz-400x267.jpg zzz-500x375.jpg zzz-768x576.jpg
Just to make sure that the issue is not with my site. I’ve uploaded images to absolutely freshly installed wordpress without plugins (only this one and woocommerce):
21313453.jpg 4000x3000 on different site with clean wordpress. This one stayed unwatermarked These are unwatermarked 21313453_br_backup.jpg 21313453-100x100_br_backup.jpg 21313453-150x150_br_backup.jpg 21313453-300x225_br_backup.jpg 21313453-324x324_br_backup.jpg 21313453-416x312_br_backup.jpg 21313453-768x576_br_backup.jpg 21313453-1024x768_br_backup.jpg 21313453-1536x1152.jpg 21313453-2048x1536.jpg 21313453-scaled_br_backup.jpg 21313453-scaled-1536x1152.jpg 21313453-scaled-2048x1536.jpg 21313453-scaled.jpg 21313453.jpg This with watermark: 21313453-100x100.jpg 21313453-150x150.jpg 21313453-300x225.jpg 21313453-324x324.jpg 21313453-416x312.jpg 21313453-768x576.jpg 21313453-1024x768.jpg
Same site dealt with picture 560×370 correctly. No scaled images: backups done correctly, all images without ‘_br_backup’ are watermarked.
So my conclusion is plugin fails completely with big enough images.. Can’t say why.
Checked numerous times. Reuploaded different pictures. Uploaded through media library/product page. Regenerated via your plugin setting. Tried ‘Restore’ than ‘Create’. Tried regenerating my thumbnails (on the main site).. Haven’t won the battle
- The topic ‘‘Full’ stays unwatermarked with big images’ is closed to new replies.