Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2012-04-11 10:32:33

sonicsnes
Member
Registered: 2012-04-11
Posts: 3

2.4.0RC2 No watermark on small images

When the original image size is relatively small, the picture page uses the original "uploads" source, rather than one that has been processed, even though the user does not have "show original" access.

You can see this in action here:
https://gallery.team9000.net/picture/199/category/16

The image fails to load, because we block all direct access to our /uploads folder -- we want all images to be watermarked.



I do understand 'why' this is happening, but a solution isn't very obvious. Perhaps there should be an "original" size in /_data/i, which is passed through the watermarker, but isn't resized. Then, this image could be used, rather than the on in /uploads.

Sorry if I'm a bit incoherent, it's a late night.

Last edited by sonicsnes (2012-04-11 10:35:01)

Offline

#2 2012-04-12 09:56:32

rvelices
Piwigo Team
Registered: 2005-12-29
Posts: 1553
Website

Re: 2.4.0RC2 No watermark on small images

You are right. We'll review the "algo" for showing the original. Just make sure the original is big enough with regards to the watermarking width/height otherwise we'll still show the original

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013