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

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

0 Members and 2 Guests are viewing this topic.

Offline Blesi

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #795 on: December 13, 2008, 09:30:17 PM »
Ich gehe jetzt davon aus, dass das Fehlen des Wasserzeichens (nur ab und zu) auf ein "zu schmales" Bildes zurück zu führen ist. Weiß dau jemand was genaueres?

Gruß Christian

Offline rubberduck

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • Reptilienmanager.de
Re: [Mod] Image Annotation (Watermark)
« Reply #796 on: December 13, 2008, 09:38:01 PM »
Ich gehe jetzt davon aus, dass das Fehlen des Wasserzeichens (nur ab und zu) auf ein "zu schmales" Bildes zurück zu führen ist. Weiß dau jemand was genaueres?

Ja, wenn das Wasserzeichen größer ist als wie die Bildbreite dann wird es nicht gesetzt. Ist bei mir auch so, ich binde allerdings nur Text ein, keine Grafik.

ReptilienManager.de - Die Online Reptilien Verwaltung
Neueinsteiger.eu - Das Portal für Terraristik Einsteiger
Terra-ROW.de - Der regionale Terraristik Stammtisch in Rotenburg

Offline Blesi

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #797 on: December 14, 2008, 03:48:51 PM »
Ich binde auch nur Text ein, trotzdem besteht das Problem.
Hat jemand ne Möglichkeit, dass man das Prozentual regelt?

Gruß Christian

Offline rubberduck

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • Reptilienmanager.de
Re: [Mod] Image Annotation (Watermark)
« Reply #798 on: December 14, 2008, 07:27:37 PM »
Da hilft wohl nur den Text zu kürzen oder den Schriftsatz zu verkleinern.

ReptilienManager.de - Die Online Reptilien Verwaltung
Neueinsteiger.eu - Das Portal für Terraristik Einsteiger
Terra-ROW.de - Der regionale Terraristik Stammtisch in Rotenburg

Offline Blesi

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #799 on: December 15, 2008, 09:26:31 PM »
Schade und 80% von Bild zu machen als Breite funktioniert nicht?!
Gruß

Offline rubberduck

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • Reptilienmanager.de
Re: [Mod] Image Annotation (Watermark)
« Reply #800 on: December 15, 2008, 10:28:18 PM »
Habe ich bisher jedenfalls nicht gefunden, bzw. hinbekommen.

ReptilienManager.de - Die Online Reptilien Verwaltung
Neueinsteiger.eu - Das Portal für Terraristik Einsteiger
Terra-ROW.de - Der regionale Terraristik Stammtisch in Rotenburg

Offline Blesi

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #801 on: December 16, 2008, 02:03:00 PM »
Dann muss ich wohl wirklich die Schrift kürzer machen. Sonst muss ich immer nachschauen ob es drauf ist, das ist ja auch doof.

Trotzdem danke für die Antwort.


Gruß Christian

Offline zerandib

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #802 on: January 03, 2009, 02:03:07 PM »
Hello,

I have installed this MOD image annotation
It works exactly fine in the localhost

But when it uploads to the server it gives this error!  :roll:

PlugIns -> Batch Annotate

Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/content/z/e/r/mylogginname/html/admin/plugins/batch_annotate.php on line 8

Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/z/e/r/mylogginname/html/admin/plugins/batch_annotate.php on line 8



I have upload the exact files that work on the localhost.
and i have test the GD support on the server. - GD Freetype test. - It is also working
and my batch_annotate.php is looks like this.

Code: [Select]
<?php // PLUGIN_TITLE: Batch Annotate  - Line1
$nozip 1#line2
define('IN_CP'1); 
$root_path = (eregi("\/plugins\/"$PHP_SELF)) ? "./../../" "./../";
define('ROOT_PATH'$root_path);
define('MEDIA_DIR''data/media');
define('MEDIA_PATH'ROOT_PATH.MEDIA_DIR);
require(
ROOT_PATH.'admin/admin_global.php');  #line8
require(ROOT_PATH.'includes/annotate.php');

if (
$action == "") {
  
$action "intro";
}



any idea whats wrong in this!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Image Annotation (Watermark)
« Reply #803 on: January 03, 2009, 05:53:46 PM »
Hello and welcome to 4images forum.

This error came up so often, that I think it's time do something about it.

I've updated original post with instructions how to solve it:
http://www.4homepages.de/forum/index.php?topic=13719.msg15609#post_error
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Blesi

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #804 on: January 07, 2009, 02:59:22 PM »
Hallo zusammen,
wegen eines neues Websapces musste ich jetzt meine Gallery komplett neu machen. Leider kamen damich auch die Probleme. Ich wollte den annotation-mod wieder installieren, aber leider kommt die alt bekannte Fehlermeldung. Ich habe auch schon nach sämtlichen Dingen in der Suche veruscht, aber leider hat nichts funktioniert :-(
Mit ttf, ohne ttf. Mit "/", ohne. Und so weiter uns sofort. Kann mir noch jemand n Tipp geben, an was es liegen kann? Ich mache jetzt schon über ne Stunde an dem Teil rum und verzweifle bald. Muss ich extra was mit der der GD Bilbliothek machen? Muss da was installiert werden?
Gruß Christian


Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /var/www/vhosts/christian-blesinger.com/httpdocs/gallery/includes/annotate.php on line 95

Warning: imagettftext() [function.imagettftext]: Could not find/open font in /var/www/vhosts/christian-blesinger.com/httpdocs/gallery/includes/annotate.php on line 192

Warning: imagettftext() [function.imagettftext]: Could not find/open font in /var/www/vhosts/christian-blesinger.com/httpdocs/gallery/includes/annotate.php on line 193
Working on data/media/2/20081226_blesinger_bl_033.JPG file:
Copied original file into data/media/2/big/ folder.
Image resized.
Added annotation in data/media/2/20081226_blesinger_bl_033.JPG file.
Created thumbnail.
Bild erfolgreich hinzugef�gt: ASV Durlach - Offenburger FV

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Mod] Image Annotation (Watermark)
« Reply #805 on: January 07, 2009, 03:25:30 PM »
upload arial.ttf file from your C:\Windows\Fonts into root of your gallery, make sure it's CHMOD 755, then set font path in the Annotation Settings to:
/var/www/vhosts/christian-blesinger.com/httpdocs/gallery/arial.ttf
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Blesi

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #806 on: January 07, 2009, 03:38:42 PM »
Super, ich weiß nicht ob es an der Berechtigung oder am Pfad lag, aber funktioniert. Super danke.

Great ,thank you. It works.

Offline shadowhunter

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • Fotogalerie & Fotocommunity scluzern.com
Re: [Mod] Image Annotation (Watermark)
« Reply #807 on: January 14, 2009, 10:21:43 AM »
Hallo!

Is it possible to make an annotation on a jpg-file with a transparent watermark-image (e.g. gif or png) but without an background color ("Embedded image background color to set as a transparent").
I use the GD.

Ist es möglich ein transparentes Wasserzeichen-Bild (z.B. gif oder png Datei) bei einem jpg-Bild einzufügen, aber ohne eine Hintergrundfarbe ("Eingebettete Bildhintergrundfarbe, zum als transparentes einzustellen").
Ich benütze GD Bibliothek.
Momentan gibt es bei mir ein halbtransparentes Rechteck (mit der eingestellten Farbe) im Hintergrund von dem Wasserzeichen bei jedem Bild.
Es sollte so sein, wie bei einem Text-Wasserzeichen (> der Hintergrund beim Text ist vollständig Transparent)!

Thanks & greetings.

Offline schlepperonline

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Landtechnikfotografie
Re: [Mod] Image Annotation (Watermark)
« Reply #808 on: January 22, 2009, 02:24:03 PM »
Hallo

wenn ich mehrere Bilder hochladen will kommt dieser Fehler

Fatal error: Cannot redeclare ann_rename() (previously declared in /www/htdocs/......../4images/includes/annotate.php:9) in /www/htdocs/w005dc89/4images/includes/annotate.php on line 9

Kann mir da einer helfen, habe dazu schon was gefunden hier im forum hat aber auch nicht gefunzt!

Gruß Christian

Offline Fere

  • Newbie
  • *
  • Posts: 19
  • echo "Hello world!"
    • View Profile
    • www.aribrushart.ro
Re: [Mod] Image Annotation (Watermark)
« Reply #809 on: January 27, 2009, 05:59:37 PM »
Only image annotation works. I'm using 4images 1.7.6

I've tryed increasing text size, seting 0 transparency, no shadow. Doesn't work. Also batch module isn't showing anny settings in its dedicated page.
I'm 100% sure font path is corect.

Although these don't harm my needs, there is one problem that bothers me...
I have also installed autoresize on upload mod and it looks like the annotation happens first and then the autoresize.

I mention that in annotation settings it tells me:
Annotation Settings   [ GD is set as an image conversion tool ]


EDIT:
Problem with action order solved, just needed to put the annotation script after resize script in member.php
Though I don't need batch and font annotation I'd like to know what could be the problem with them, maybe I'll fix it, who know's when thoose would be needed.