Downsize watermark referring to the shortest side of the picture Downsize watermark referring to the shortest side of the picture
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Downsize watermark referring to the shortest side of the picture

Started by taggen, August 27, 2015, 11:41:38 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

taggen

It would be nice if the resizing of the watermark could depend of both the width and height of the picture.

One way would be to refer to the shortest side.
Another way could be to enable the possibility to set both the width and height of the picture as parameters. (A zero value could mean – Don't care!)

That would ensure the watermark don't go outside any of the top, bottom, left or right edge of the picture - both in portrait and landscape pictures.
This is especially useful if you use a centered watermark and particularly if it has considerable width and height – for instance if it is square or round.
// taggen