Watermark problem

HI,
When I try to configurate a watermark (in image rendition with my (logo 410X46 px) the photo could not be uploaded: Implicit conversion from float 784.75 to int loses precision in ImageResizer.php on line 174. What kind of bug is this ?
Thank’s

@Ben

When trying to publish an album in Backlight Publisher that uses a Pangolin template that applies a watermark, I’m seeing the same problem.

The same images are published as expected using a Pangolin template that does not apply the watermark

Thank you for this quick response. Therefore, how should we proceed? JB

I tagged @Ben. He’ll need to look into it.

Ok . Don’t worry. I will use LR facilities. Thank’s . JB

Hi @jbronces and @rod_barbee, I’ve found that some of the watermark sizing calculations could produce non-rounded values, which then causes PHP to throw the error you’ve seen.

I’ve put in a silent fix for this. Can you visit Backlight > Backlight Modules and click reinstall for module-publisher then try again?

2 Likes

I Ben,
I am running with BL 5. Latest version, & PHP Version 8.1.22.

Great ! Congratulations. It’s works. Thanks a lot.

1 Like

works for me too

1 Like