Member
Member
Sablerider   12-03-2024, 17:31
#1

We are struggling with the watermark after upgrade to newest version of zenfoto

We have a website:

https://galerie.wirk-licht.de/

Before the upgrade (at 1.4.14) we had a working watermark.

After the upgrade all watermarks are in place but with a black/grey background.

I doublechecked the png-File with gimp. Its transparent.
I deleted all zenphoto caches via admin panel and recreated all images.
I deleted my browser cache and tried with different browsers.

Still we can not get the watermark be transparent.

Any further advice?

Kind regards,
Alex

Administrator
Administrator
acrylian   12-03-2024, 18:00
#2

Does your site use GD or Imagick? I sadly cannot access your site at all right now as the server seems to have a timeout…

I deleted all zenphoto caches via admin panel and recreated all images.

That is the right way although existing images actually don't change on an upgrade.

However in 1.6. or 1.6.1 - I don't remember - there have been fixes to the handling transparency which was kind of broken before.

Transparent watermarks should be PNG (png24 with alphatransparency at best).

Member
Member
Sablerider   12-03-2024, 18:37
#3

Dang! I got it working!

I just downloaded the watermark png via filezilla.

Opend in Gimp2 and resaved it.
Options:

Interlacing (Adam7): unchecked
save background color: unchecked
save gamma-factor: unchecked
save layer offset: unchecked
save resolution: checked
save creation time: checked
save colour values from transparent pixels: unchecked
compression level: 9

Uploaded and set the new png-file as wartermark.

zenfoto Image setup:

Select graphics library: Imagick
Use embedded thumbnail: checked

cleared all caches.

so it sees to be resoved.

Thanks again!

The delay resulted in the site trying to recreate 29700 images :-)

Member
Member
Sablerider   13-03-2024, 08:32
#4

i recogniced some strange behaviour.

Although all images were newly cached:

Just some subgalerys preview pictures still have the black/grey-background issue.

the pictures itself are fine.

You can see it here:

https://galerie.wirk-licht.de/Events-Veranstaltungen/

Administrator
Administrator
acrylian   13-03-2024, 09:51
#5

The delay resulted in the site trying to recreate 29700 images :-)

that would explain it, although Zenphoto will only re-create thumbs etc. on access and not automatically in the background. To force re-creation "at once" you need to use the cacheManager.

Be sure to disable random album thumb selection as ZP otherwise picks a new thumb on every access and there are a lot images it every time needs to process one. That causes delays,too.


The watermark on the link seems to be correct with transparency. I guess the browser cache is playing tricks on you.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.