forum.coppermine-gallery.net

Support => Deutsch (German) => Language Specific Support => cpg1.4.x Deutsch (German) => Topic started by: sylvia.r on February 25, 2009, 10:38:07 am

Title: Watermark Proportionen
Post by: sylvia.r on February 25, 2009, 10:38:07 am
Tag zusammen,
Das transparente Bild (png)wird bei mir im normalen und originalem Fenster sichtbar.
http://marwoj.kilu.de/galeria/index.php
Leider immer in der selben Größe.
Besteht dort die Möglichkeit, je nach Bildauflösung, die Proportionen für Watermarker zu verändern?

Gruß und Danke
S.
Title: Re: Watermark Proportionen
Post by: Αndré on February 25, 2009, 10:47:43 am
http://forum.coppermine-gallery.net/index.php/topic,29817.msg143122.html#msg143122
Title: Re: Watermark Proportionen
Post by: Joachim Müller on February 25, 2009, 05:19:33 pm
Besser noch: auf dem Client ein Watermark anbringen.
Title: Re: Watermark Proportionen
Post by: sylvia.r on February 25, 2009, 05:57:02 pm
Danke bis jetzt, aber...ich komme nicht weiter...

Ich habe modpack 1.4.20 erfolgreich geladen und update durchgeführt. Ging alles problemlos.
Nach Hinweis von eenemeenemuu habe nur die Datei update.sql geändert, da "lang" bereits korrekt gewesen ist. Update wieder gemacht
Meine Bilder sind 1024 und 600 px normal.
Wasserzechen unter "config" steht auf 100%, mehr Einstellungen zu meiner *.png habe ich nicht.
PNG-Datei ist transparent 300 x 50 erstellt worden, und immer noch ohne Proportionen auf 600 bzw. 1024 px sichtbar..
Gruss S.
Title: Re: Watermark Proportionen
Post by: Αndré on February 25, 2009, 05:59:28 pm
download the attached file, unpack it and upload it in your include folder replacing the existing file (include/picmgmnt.inc.php)
Title: Re: Watermark Proportionen
Post by: sylvia.r on February 25, 2009, 10:26:16 pm
@ eenemeenemuu,
kannst du mir auf deutsch erklären, was mit "attached file downladen" gemeint ist?
Ich drehe mich nach wie vor in einem Kreis, und eine "picmgmnt.inc.1.4.6.zip" Datei kann ich leider nicht finden.
S.
Title: Re: Watermark Proportionen
Post by: Αndré on February 26, 2009, 06:45:23 am
Du sollst diese (http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=29817.0;attach=4044) Datei herunterladen, entpacken und auf deinem Server ersetzen ::)
Title: Re: Watermark Proportionen
Post by: sylvia.r on February 26, 2009, 10:19:01 am
Es ist mir gelungen die CPG 1.4.6 zu finden, und die Datei picmgmnt.inc.php wurde ausgetauscht.
Dann upload noch mal gestartet, und keine Skalierung sichtbar. Die png bleibt immer noch gleich groß.:/
S.
Title: Re: Watermark Proportionen
Post by: Αndré on February 26, 2009, 10:24:52 am
Ich komm mir langsam echt verarscht vor. Lies dir doch bitte diese Anleitung (http://forum.coppermine-gallery.net/index.php/topic,29817.msg143122.html#msg143122) nochmal genau durch:
Automatically downsizing of the watermark image when the uploaded picture is smaller than the width you set (Downsize watermark if width of an picture is smaller than entered value. That is the 100% reference point. Resizing of the watermark is linear (0 to disable)).
If you eg. enter here 1024 (like I did on my demo site), then the 100% reference is at images with a width of 1024px or bigger. If you upload pics > 1024px the watermark image won't get resized and attached with its full size. If you let coppermine create an intermediate image with a width of 400 pics, then the watermark will get downsized to 39% of it's original size. Is the fullsized eg. 512px, then the watermark will have 50% of it's orig size.

Welchen Wert hast du gesetzt?
Gib uns einen Link zu einen Bild, auf dem es nicht wie gewünscht funktioniert hat.
Title: Re: Watermark Proportionen
Post by: sylvia.r on February 26, 2009, 12:02:21 pm
Quote
Ich komm mir langsam echt verarscht vor.
In keinem Fall.!
Das war ich mit meinem falschen Fixpunkt.
Ich habe bei Wert immer auf die %-e geachtet, und nicht auf die Auflösung.*doof*

Jetzt funktioniert endlich sehr gut.
Damit bedanke mich noch mal...
Gruss
S.