• [Mod] Image Annotation (Watermark) 2 0 5 1
Currently:  

Author Topic: [Mod] Image Annotation (Watermark)  (Read 989349 times)

0 Members and 2 Guests are viewing this topic.

Offline saud

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Pakistani.Pk
Re: [Mod] Image Annotation (Watermark)
« Reply #855 on: December 21, 2009, 03:55:32 AM »
hiya

a little question!

whenever i tried to watermark with image expect of text , it gave me this error:

Quote
Annotating between image ID 5794 and 5796:
Processing image My Name Is Khan (2010) from category My Name Is Khan (2010), image ID 5794 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/jinii/public_html/wallpapers/includes/annotate.php on line 176

Warning: imagesy(): supplied argument is not a valid Image resource in /home/jinii/public_html/wallpapers/includes/annotate.php on line 177

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/jinii/public_html/wallpapers/includes/annotate.php on line 184





please help

Offline k1lljoy

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • Razruha.Ru
Re: [Mod] Image Annotation (Watermark)
« Reply #856 on: January 03, 2010, 08:47:45 AM »
One question...

Why is the watermark-mod only working when I upload a .jpg file ?
It does not work with a .jpeg file or .gif .bmp .png , etc.!

Can somebody help me with that?

Friendly regards,
Benjamin


Somebody? :(
Any probable solutions for this issue?  :|


Offline Steffen13

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #857 on: January 18, 2010, 12:14:13 PM »
Hallo,

ich bekomme eine Fehlermeldung, sobald ich ein Bild nachträglich mit Wasserzeichen versehen möchte.


Grüße

Code: [Select]
Annotating between image ID 616 and 616:

Processing image 2010 Saisonende an der Steinlake from category Natur pur, image ID 616 >>
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/www/***/html/***/galerie/includes/annotate.php on line 95

Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/www/***/html/***/galerie/includes/annotate.php on line 192

Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/www/***/html/***/galerie/includes/annotate.php on line 193
OK

Finished!

Rembrandt

  • Guest
Re: [Mod] Image Annotation (Watermark)
« Reply #858 on: January 18, 2010, 01:57:18 PM »
....

das steht aber im eingangspost drinnen das der pfad zu den fonts anzupassen ist.

Offline Steffen13

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #859 on: January 19, 2010, 06:47:07 PM »
....

das steht aber im eingangspost drinnen das der pfad zu den fonts anzupassen ist.

Steht das da?

Wo genau?

Meinst du das?

Code: [Select]
<?php
header 
("Content-type: image/png");
$im imagecreate (18030);
$black imagecolorallocate ($im000);
$white imagecolorallocate ($im255255255);
imagettftext ($im1401021$white"/home/public_html/arial.ttf""GD Freetype test");
imagepng ($im);
imagedestroy ($im);
?>

wohl eher nicht?

Denn wenn ich ein bild hochlade, funktioniert es ja.

Rembrandt

  • Guest
Re: [Mod] Image Annotation (Watermark)
« Reply #860 on: January 19, 2010, 07:07:00 PM »
...
Denn wenn ich ein bild hochlade, funktioniert es ja.
sorry, ich habe mich wohl falsch ausgedrück, ich meine eigentlich das hier:
Quote
If you get the "Could not find/open font", and you are sure, that you've set the right path and name, try removing the .ttf extension from the filename in MOD settings,  e.g., use  "/fonts/verdana", not "/fonts/verdana.ttf".

und deine von dir gepostet fehlermeldung sagt es ja auch aus ,das die fonts nicht gefunden werden.

sehe gerade das in der config der pfad einzugeben ist, oder?
$ann_font_path $config['annotation_font'];

Offline Steffen13

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #861 on: January 19, 2010, 07:14:38 PM »
...
Denn wenn ich ein bild hochlade, funktioniert es ja.
sorry, ich habe mich wohl falsch ausgedrück, ich meine eigentlich das hier:
Quote
If you get the "Could not find/open font", and you are sure, that you've set the right path and name, try removing the .ttf extension from the filename in MOD settings,  e.g., use  "/fonts/verdana", not "/fonts/verdana.ttf".

und deine von dir gepostet fehlermeldung sagt es ja auch aus ,das die fonts nicht gefunden werden.

sehe gerade das in der config der pfad einzugeben ist, oder?
$ann_font_path $config['annotation_font'];


Wenn ich die endung wegnehme, dann bekomme ich beim hochladen eines Bildes die Fehlermeldung über dem header.
lasse ich den namen "ARIAL.TTF" so wie es war, bekomme ich die Fehlermeldung beim hochladen nicht, dafür aber, beim Batch Annotate im ACP.
Komisch, oder?
Von welcher config sprichst du?

EDIT:
ok, endung kannich weglassen, und die Fehlermeldung erscheint nicht, wenn ich einen extra ordner anlege. also so wie im Beispiel. fonts/arial
trotzdem geht es nicht, im nachhinein die bilder mit einem Wasserzeichen zu versehen, dann bekomme ich wieder die Fehlermeldung im ACP

Grüße
« Last Edit: January 19, 2010, 07:45:04 PM by Steffen13 »

Rembrandt

  • Guest
Re: [Mod] Image Annotation (Watermark)
« Reply #862 on: January 19, 2010, 07:57:44 PM »
im ACP sind doch die einstellungen vorzunehmen, nur ob dort nur der fond name oder der gesamte pfad einzugeben ist weis ich nicht.
ich denke mal mit pfadangabe.
aber vielleicht kann uns ja mal wer aufklären der den mod installiert hat.

Offline Steffen13

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #863 on: January 19, 2010, 11:41:12 PM »
im ACP sind doch die einstellungen vorzunehmen, nur ob dort nur der fond name oder der gesamte pfad einzugeben ist weis ich nicht.
ich denke mal mit pfadangabe.


Das ist richtig,

legst du die font datei in den Galerieordner, also dort wo die index.php liegt, reicht es arial.ttf einzugeben. jetzt habe ich einen fontsordner angelegt und nun steht im ACP fonts/arial  ohne endung, und das funktioniert. Wie gesagt beim nachträglichen bearbeiten bekomme ich ne fehlermeldung.
Mal sehen, vielleicht tut sich noch was.
Danke dir aber erstmal für deine hilfe.

Grüße

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [Mod] Image Annotation (Watermark)
« Reply #864 on: February 02, 2010, 11:01:07 AM »
Hi, hab ne Frage.
Funktioniert der MOD beim FTP-upload, oder nur beim Kategorie-upload?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #865 on: February 02, 2010, 11:05:59 AM »
@honda2000
... nach dem FTP-Upload muss nur das Plugin "Batch Annotate" für die betreffenden Bilder ausgeführt werden ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Steffen13

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #866 on: February 02, 2010, 11:07:29 AM »
was aber auch nicht so ohne weiteres funktioniert,

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [Mod] Image Annotation (Watermark)
« Reply #867 on: February 02, 2010, 11:28:59 AM »
Eben leider.
Also gibts nichts wirklich "fertiges" als Wasserzeichen, bei upload per FTP, oder?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #868 on: February 02, 2010, 05:20:30 PM »
@honda2000
... also echt honda, wie sollte das funktionieren ...
... der FTP-Upload ... ein Upload ohne das Script von 4images, wie sollte da 4images das Wasserzeichen auf die Bilder bekommen ...
... das bereits zitierte Plugin, das mit diesem MOD mitkommt, arbeitet im ACP perfekt ... !
... die Wasserzeichen bekommst du wie folgt ganz schnell auf deine Bilder, die per FTP hochgeladen wurden ...
... FTP-Upload -> Plugin im ACP aufrufen -> Images_ID auswählen -> Plugin starten -> Wasserzeichen sind auf allen ausgewälten Bildern ...
... fertig ... in 15 Sek. ...
... auf diese Art und Weise kannst du auch alle Bilder nachträglich marken, die bereits vor der MOD-Installation auf deiner Seite waren ....
... was sollte da noch einfacher laufen ...
... ich denke mal, du hast das Plugin noch nicht getestet ... ;)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: [Mod] Image Annotation (Watermark)
« Reply #869 on: February 02, 2010, 05:43:29 PM »
Doch, und du wirst es nicht glauben, ich hab einen anderen Weg gefunden, geht perfekt per FTP!