Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Watermark Proportionen  (Read 4596 times)

0 Members and 1 Guest are viewing this topic.

sylvia.r

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Watermark Proportionen
« 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Watermark Proportionen
« Reply #2 on: February 25, 2009, 05:19:33 pm »

Besser noch: auf dem Client ein Watermark anbringen.
Logged

sylvia.r

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: Watermark Proportionen
« Reply #3 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Watermark Proportionen
« Reply #4 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)
Logged

sylvia.r

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: Watermark Proportionen
« Reply #5 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Watermark Proportionen
« Reply #6 on: February 26, 2009, 06:45:23 am »

Du sollst diese Datei herunterladen, entpacken und auf deinem Server ersetzen ::)
Logged

sylvia.r

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: Watermark Proportionen
« Reply #7 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Watermark Proportionen
« Reply #8 on: February 26, 2009, 10:24:52 am »

Ich komm mir langsam echt verarscht vor. Lies dir doch bitte diese Anleitung 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.
Logged

sylvia.r

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 98
Re: Watermark Proportionen
« Reply #9 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.