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

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

0 Members and 2 Guests are viewing this topic.

Offline Stryker

  • Newbie
  • *
  • Posts: 44
    • View Profile
    • http://www.3dm-mc.com
Re: [Mod] Image Annotation (Watermark)
« Reply #435 on: February 22, 2006, 07:43:54 PM »
All works good, but these variables: %N - Site Name, %H - full Site URL, %U - short Site URL, %S - User Name, %D - date, %T - time, %B - don't work. On pictures display like "%D" not "some date".
And one more question: how to make black line under watermark as like V@no's gallery?

Thanks!

Offline galadrium

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #436 on: February 23, 2006, 04:29:31 PM »
also ich habe jetzt alles installiert.


jetzt habe ich aber eine frage ist es richtig wen ich die TTF datei direkt in den 4images ordner lade?

oder wass könnte das problem sien das es nicht geht?
hier die fehlermeldung:

Processing image 1414-009 from category test für wasserzeichen, image ID 362 >>
Warning: imagettfbbox(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 95

Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 192

Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 193
OK
Processing image 1414-010 from category test für wasserzeichen, image ID 363 >>
Warning: imagettfbbox(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 95

Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 192

Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 193
OK
Processing image asfsefwad from category test für wasserzeichen, image ID 364 >>
Warning: imagettfbbox(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 95

Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 192

Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 193
OK
Processing image yscfrom category test für wasserzeichen, image ID 365 >>
Warning: imagettfbbox(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 95

Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 192

Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 193
OK

Finished!


und was genau ist die image ID


mfg

galadrium

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [Mod] Image Annotation (Watermark)
« Reply #437 on: February 23, 2006, 04:38:49 PM »
wurde in diesem thread x-mal beantwortet!

Offline galadrium

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #438 on: February 23, 2006, 04:49:22 PM »
habs aber nirgens gefunden, kann kein englisch

Offline galadrium

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #439 on: February 23, 2006, 04:56:51 PM »
und wen ich es mit nem bild machen will kommt

Annotating between image ID 362 and 365:

Processing image 1414-009 from category test für wasserzeichen, image ID 362 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 176

Warning: imagesy(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 177

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 184

Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 185

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 186
OK
Processing image 1414-010 from category test für wasserzeichen, image ID 363 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 176

Warning: imagesy(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 177

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 184

Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 185

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 186
OK
Processing image asfsefwad from category test für wasserzeichen, image ID 364 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 176

Warning: imagesy(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 177

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 184

Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 185

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 186
OK
Processing image yscfrom category test für wasserzeichen, image ID 365 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 176

Warning: imagesy(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 177

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 184

Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 185

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 186
OK

Finished!

Offline galadrium

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #440 on: February 23, 2006, 05:08:31 PM »
hallo also trez hat mir grad im ICQ geholfen.

das problem wahr das der pfad vom ttf nicht korekt wahr.


mfg

galadrium

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 #441 on: February 24, 2006, 01:22:51 AM »
Warning: imagettfbbox(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 95
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 Swallow

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #442 on: March 08, 2006, 11:10:17 PM »
Hallo,

I hope you can help me:

My SafeMode is ON and I have no chanche to change it (I've asked my Server-Admin but it's not possible - because of the security rules...).

Is there any chanche to use this mod with "SAFE MODE" on?

Because of it, I get these messages:
Warning: imagejpeg(): Unable to access ./data/media/8/Reifenroller_klein.jpg in /home/www/..../4images/includes/annotate.php on line 187

Warning: imagejpeg(): Invalid filename './data/media/8/Reifenroller_klein.jpg' in /home/www/..../4images/includes/annotate.php on line 187



thank's for your help!

CU Swallow

Offline himu

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • Point Of View
Re: [Mod] Image Annotation (Watermark)
« Reply #443 on: March 15, 2006, 07:09:54 PM »
Hey SLL / V@no

I just went through the whole 30 page of the thread.. but no one seem to ask the following question...  8O :roll:
How can we Batch Annotate all images in all category at once like the following mod?
[MOD] Check new images in ALL categories v2.10.5
?? :?:

Offline galadrium

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #444 on: March 22, 2006, 12:49:34 PM »
hallo ich ahbe nochmals eine frage.

bei den einstellungen kann man ja bei "Annotation Text" auch variablen eingeben z.b den usernamen usw. kann mir einer erklären wie das geht? bei mir fünzt das nicht. würde es gerne so machen.    "username" © www.GEILI-SITA.ch

danke shcon mal für eure hilfe

Offline Optimum

  • Newbie
  • *
  • Posts: 26
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #445 on: March 24, 2006, 08:55:24 AM »
Hi,

I've started to install this mod, but I thought I should first check with the code provided, if it'll work.
Quote
<?php
header ("Content-type: image/png");
$im = imagecreate (180, 30);
$black = imagecolorallocate ($im, 0, 0, 0);
$white = imagecolorallocate ($im, 255, 255, 255);
imagettftext ($im, 14, 0, 10, 21, $white, "/home/public_html/arial.ttf", "GD Freetype test");
imagepng ($im);
imagedestroy ($im);
?>
Well, the little code, doesn't work. I get a black box, but no white text.
I used both absolute and relative link to the font, but still nothing..

This is the server report:

gd
GD Support    enabled
GD Version    2.0 or higher
FreeType Support    enabled
FreeType Linkage    with freetype
T1Lib Support    enabled
GIF Read Support    enabled
GIF Create Support    enabled
JPG Support    enabled
PNG Support    enabled
WBMP Support    enabled

Do I require anything else to make this work?

TIA!
Mat

EDIT: Problem fixed. It was in the path. I wish it would be explained better. You need a FULL server path, like /home/www/users/quantas/domain/www/multimedija/font.ttf.. not just ../font/font.ttf or www.domain.com/fonts/font.ttf.
I got the test script working now, now for the whole mod.. fingers crossed..
« Last Edit: March 25, 2006, 08:41:41 AM by Optimum »

Offline Fastian

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #446 on: March 25, 2006, 02:41:47 AM »
A little trouble with this mod.

When I try the small code in first post, It works fine.
The mod itself is working without problem when using Image watermark. But when I try to use font that I used before for test code it give the following error message

Code: [Select]
Warning: imagettfbbox(): Could not find/open font in /home/***/public_html/wallpapers/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/***/public_html/wallpapers/includes/annotate.php on line 192
Warning: imagettftext(): Could not find/open font in /home/***/public_html/wallpapers/includes/annotate.php on line 193

Is it not able to find the font??

In Mod setting I tried giving relative url as well as full path. But the result is same.

Where to start digging???
I m not a  Programmer.
          But
I m a Good Learner.

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 #447 on: March 25, 2006, 02:45:23 AM »
permissions issue?
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 Fastian

  • Full Member
  • ***
  • Posts: 199
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #448 on: March 25, 2006, 02:50:32 AM »
The font file is in  www.domain.com/fonts/a.ttf

fonts is chmod to 777
a.tff  is chmod to 666

What would be the correct permission?

What would be the correct path in this case. (to write in ACP)
"./fonts/a.ttf" or "http://www.domain.com/fonts/a.ttf"
I m not a  Programmer.
          But
I m a Good Learner.

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 #449 on: March 25, 2006, 03:51:24 AM »
and did you try 777 on the files?
the first path would be correct, but the second is not "full" path as you mentioned above, its internet path. Full path is a local server path like /home/users/some/path/fonts/a.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)