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

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

0 Members and 3 Guests are viewing this topic.

Offline Brainwrek

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #510 on: July 11, 2006, 02:46:53 AM »
LeeWicked... Glad that helped.   :D

V@no... PM me.  I have some paid work for you if you're interested.  Against a deadline and I need your expertise.

Offline alexishomer

  • Pre-Newbie
  • Posts: 1
    • View Profile
Hello everyone,

I am using GD version 2, 4images 1.7.2 and I encounter this error when adding new images and annotation to them...

Code: [Select]
Warning: imagesx(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 176

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

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

Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 185

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 186
Working on data/media/1/a32kya.jpg file:
Added annotation in data/media/1/a32kya.jpg file.
Created thumbnail.
Image added: a32kya.jpeg

Although it says that it had added the annotation, the picture remains unannotated.

a link to the annotation picture : Annotation.png

can anyone give me any clue to what is happening? I am totally new to php

Offline Stinus

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Veteranbrannbiler - Old Fire Truck
Re: [Mod] Image Annotation (Watermark)
« Reply #512 on: July 30, 2006, 11:59:56 PM »
Hi
i get this errors when i hit the Batch Annotate in control panel


[qcode]Warning: main(): Unable to access ./../admin/admin_global.php in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/admin/plugins/batch_annotate.php on line 8

Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/admin/plugins/batch_annotate.php on line 8

Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php') in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/admin/plugins/batch_annotate.php on line 8[/qcode]

Someone who can help me? and tell me what to do?
Stian


A site about Old Fire Truck - Gallery - Forum

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 #513 on: July 31, 2006, 12:06:03 AM »
page 33
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 __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #514 on: July 31, 2006, 06:27:06 AM »
hi its not working i think on top of my acp annonation thing it says

Annotation Settings   [ GD is set as an image conversion tool ]



and when i click on batch annonate than nothin happens it stays blannk

Offline Stinus

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Veteranbrannbiler - Old Fire Truck
Re: [Mod] Image Annotation (Watermark)
« Reply #515 on: August 01, 2006, 11:35:14 PM »
Thanks.
Now it's working  :D
Stian


A site about Old Fire Truck - Gallery - Forum

Offline tdkpaul

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Hello everyone,

I am using GD version 2, 4images 1.7.2 and I encounter this error when adding new images and annotation to them...

Code: [Select]
Warning: imagesx(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 176

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

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

Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 185

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 186
Working on data/media/1/a32kya.jpg file:
Added annotation in data/media/1/a32kya.jpg file.
Created thumbnail.
Image added: a32kya.jpeg

Although it says that it had added the annotation, the picture remains unannotated.

a link to the annotation picture : Annotation.png

can anyone give me any clue to what is happening? I am totally new to php


Image added: a32kya.jpeg
you used JPEG
it only works wth jpg right now!

is it possible to get it work with jpeg?

Thx

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: [Mod] Image Annotation (Watermark)
« Reply #517 on: August 08, 2006, 11:38:02 PM »
Becouse this topic is huge I would like to ask you if it's possible to add username text as watermark when uploading photo or image? If user wish so.

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 #518 on: August 09, 2006, 02:14:52 AM »
Yes, it is, read the instructions, I belive its mentioned what kind of tags can be added in the watermark text.
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 tdkpaul

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #519 on: August 12, 2006, 12:10:08 PM »
Becouse this topic is huge I would like to ask you if it's possible to add username text as watermark when uploading photo or image? If user wish so.

why you don't check the whole thread?

if everybody would ask if something is possible the Thread will even become longer

Offline teabone

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #520 on: August 12, 2006, 07:26:01 PM »
 :lol: why don´t you read through the whole internet?  :roll: sorry, but i must say, everything here (templates, mods and so on) is very difficult to find. I really like the idea of having a foum to discuss und bugfix and all but this here is total chaos. And I know what I´m talking about, believe me. :mrgreen:

Offline tdkpaul

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #521 on: August 19, 2006, 12:53:04 AM »
I finally got an error out of the batch annotate.

Code: [Select]
Processing image 19 from category Cats, image ID 1793 >>
Warning: imagettfbbox(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 95

Warning: imagettftext(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 192

Warning: imagettftext(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 193
OK

and my font setting in the annotation settings admin is (and it works like this on the user side)
Code: [Select]
./fonts/arial.ttf

Can someone tell me where I went wrong?

Thanks

i have the same error! it only works , if a user uploads an image

everyone says, that you have to set the full path

what does it mean?

like this?  http://www.mydomain.com/4images/font/ARIAL.TTF

doesn't work for me

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [Mod] Image Annotation (Watermark)
« Reply #522 on: August 19, 2006, 01:39:03 AM »
wisst ihr eigendlich was es heisst 35 Seiten zu lesen wo zwar viel geschrieben steht, aber keiner so richtig was sagt ;)
Und dann 95 % in englisch  :cry:
OK, hab es am laufen
ABER  :wink:
wenn ich %S für Usernamen eingebe, steht im Bild auch %S und nicht Klaus-Bärbel  :(

Was muss ich den wo noch ändern, um jetzt überall die Usernamen ins Bild zubekommen ?

schickt mich aber bitte nicht wieder durch die 35 Bilder  :oops:

Danke für eure Hilfe

Harald
Danke Harald




Offline tdkpaul

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #523 on: August 19, 2006, 04:17:13 PM »
wisst ihr eigendlich was es heisst 35 Seiten zu lesen wo zwar viel geschrieben steht, aber keiner so richtig was sagt ;)
Und dann 95 % in englisch  :cry:
OK, hab es am laufen
ABER  :wink:
wenn ich %S für Usernamen eingebe, steht im Bild auch %S und nicht Klaus-Bärbel  :(

Was muss ich den wo noch ändern, um jetzt überall die Usernamen ins Bild zubekommen ?

schickt mich aber bitte nicht wieder durch die 35 Bilder  :oops:

Danke für eure Hilfe

Harald

ja ich weiß wie es ist 35 Seiten zu lesen! Ich habe mich mal an einem ganzen Tag durch das KOMPLETTE Mod Forum gewühlt - von vorne bis hinten-  und mir alle Mods so aufgeschrieben mit Link die ich haben will  :lol:

Das English sollte man doch hier verstehen! Es ist ja v.a. Denglisch!

Klaus-Bärbel? Are you killing me  :mrgreen:

ich hatte mal das gleiche Problem

hier die Lösung:

öffne annotate.php und suche
Code: [Select]
$ann_vars = array ("'%D'", "'%T'", "'%N'", "'%H'", "'%U'", "'%S'", "'%B'");
und ersetze mit
Code: [Select]
$ann_vars = array ('%D', '%T', '%N', '%H', '%U', '%S', '%B');

alles klar Klaus-Bärbel? nun können deine User wieder Ü-Ei Fotos hochladen und dann steht dort auch z.B. der Name "Horst"!


EDIT
ey jo, Jan-Lukas. ich habe mir mal deine U U Seite angesehen und festgestellt, dass du dort eine Shoutbox hast. Falls das diese Shoutbox hier ist  http://www.4homepages.de/forum/index.php?topic=10545.msg76633#msg76633
so lade sie mal bitte hier als Attachement hoch, da dort der DL-Link nicht mehr vorhanden ist. DANKE
« Last Edit: August 19, 2006, 04:32:54 PM by tdkpaul »

Offline ocdotcom

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #524 on: August 20, 2006, 05:04:22 AM »
I finally got an error out of the batch annotate.

Code: [Select]
Processing image 19 from category Cats, image ID 1793 >>
Warning: imagettfbbox(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 95

Warning: imagettftext(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 192

Warning: imagettftext(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 193
OK

and my font setting in the annotation settings admin is (and it works like this on the user side)
Code: [Select]
./fonts/arial.ttf

Can someone tell me where I went wrong?

Thanks

i have the same error! it only works , if a user uploads an image

everyone says, that you have to set the full path

what does it mean?

like this?  http://www.mydomain.com/4images/font/ARIAL.TTF

doesn't work for me


Same problem here - my annotation works but I get the line 95 error - I suppose its late and Im tired but Id like to resolve this. Still searching for an answer...