Advanced search  


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.

Pages: [1]   Go Down

Author Topic: Downsize watermark referring to the shortest side of the picture  (Read 11589 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Country: se
  • Offline Offline
  • Gender: Male
  • Posts: 8

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
Pages: [1]   Go Up

Page created in 0.024 seconds with 19 queries.