Simple Watermark and position

Hi.

It would be great, if there is a simple solution to define a watermark by typing a word. Make a png-picture as watermark always takes time and when it is to big or to small you have to go back and redesign it ... it takes a lot of time.

It would be cool if there is a really simple solution in the backend where you select the watermark picuter:
- instead of select a picture from zp-core/watermarks/ defining a text in a textbox (e.g. "mydomain.de")
- instead of define a size in percent simple define the position in pixels like:
-- left top/down or right top/down
-- pixel gap from the border and from top/bottom
- then zenphoto makes a own watermark onto the pictures. This is simple with the php core image function: imagestringup()
- you can define if you would have a shadow and the textcolor (standard black and white) so the watermark is simple and "nice" and could be good, because of the black shadow and the white text.

this would really be great because it would be simple and easy

Comments

  • acrylian Administrator, Developer
    Please open a feature request ticket on the trac. Thanks.
  • There are way too many "possiblilties" here. I think it is just better that you create the image you want for a watermark. That is just as simple to do with a image editor as with some PHP code somewhere and is much more versitile. You can even have many different versions to choose from this way.
  • uk81 Member
    At the moment I have the problem that the picture I made is blurred.
    I spent really much time now for testing this. Nearly the whole day ... and it´s not working properly I want it.
    I don´t want a big and fat watermark like the example in the download-files.
    I want a smooth and tiny one in the left upper corner. But it does not look good on the smaller and bigger pictures because it´s simple a image which is down- or up-scaled and that can´t look good on each size you have.
    Only a fresh made image for the given size (when the picture is cached) is a solution which guarantee that it looks fine every time on every size.

    And it´s really quite simple. I know a other (very lightweight) image gallery and there you can use this via setting a variable in the config file, simple as a string and it looks fine on every picture.
    The code to do this is really small. A little function which ... I think round about 25 lines of code.

    I think for the end-user it is more simple to just type in a word in the backend, type two pixel numbers, save and cache the pictures to see if the position is correct.
    There is no reason to set a text colour or font, this can always be the same and is very good to see with a black shadow arround.

    Nevermind ... It´s your choice to do it or not ... I prefer it! :)
  • DrSlony Member
    uk81 simply create a huge fat watermark like the default one, then when zenphoto scales it down it will be sharper.

    If you make it eg. 200px wide, and zenphoto scales it down to e.g. 1% of the photo (which is for example 150px), then it will be blurry, but if you made it 2000px wide then it wont be so blurry after scaling to 1%.
  • uk81: Feel free to submit the code to implement this.
  • uk81 Member
    @DrSlony
    Thanks for the suggestion. I will give it a try the next hours/days. Just to see how it works. If it is good enough I will use it ... :)

    @sbillard
    Hehe ... I know it´s easier to write about or finding bugs or missing features then implement it and handle all the stuff (organisation, programming, quality ...).

    At the momenta I have no time ... mostly I have not enough time to do what I want to.
    At the moment I´m programming for my website and I decided to give ZenPhoto a try to integrate it in my website. But I don´t know how good this will work.
    But more about my idea or some problems about it in a extra topic. :)
Sign In or Register to comment.