Advanced search  

News:

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

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.

taggen

  • 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.
Logged
// taggen
Pages: [1]   Go Up
 

Page created in 0.063 seconds with 21 queries.