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

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

0 Members and 2 Guests are viewing this topic.

Offline xtase

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://www.xtase.net
[Mod] Image Annotation (Watermark)
« Reply #240 on: June 25, 2003, 11:26:49 PM »
First of all THX SLL ... year i was so crazy to write tff +g+ ...

but i still geht this error

"Warning: Could not find/open font in C:\wampp2039\htdocs\gallery\includes\annotate.php on line 78"

i put in in tahoma.ttf then i put in tahoma with out ttf but i always get the same error as below ... :roll: :( +g+

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #241 on: June 25, 2003, 11:41:44 PM »
try
Code: [Select]
/wampp2039/htdocs/gallery/tahoma.tff (without drive letter)

Offline xtase

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://www.xtase.net
[Mod] Image Annotation (Watermark)
« Reply #242 on: June 25, 2003, 11:58:28 PM »
nono :D

i checked this examples ...
/wampp2039/htdocs/gallery/tahoma.tff
/wampp2039/htdocs/gallery/tahoma.ttf
/wampp2039/htdocs/gallery/tahoma

\wampp2039\htdocs\gallery\tahoma.tff
\wampp2039\htdocs\gallery\tahoma.ttf
\wampp2039\htdocs\gallery\tahoma

and nothing of this were ok ... so now it´s time to go to bed +g+ ... tomorow i will check this mod online =)

Offline xtase

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://www.xtase.net
[Mod] Image Annotation (Watermark)
« Reply #243 on: June 26, 2003, 06:19:29 PM »
so i checked it online. when i want to batch the image with an font i get this error at each image :)

Quote
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /www/htdocs/hmhmhm/admin/plugins/batch_annotate.php on line 51

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /www/htdocs/hmhmhm/admin/plugins/batch_annotate.php on line 51

Warning: imagettftext(): supplied argument is not a valid Image resource in /www/htdocs/hmhmhm/admin/plugins/batch_annotate.php on line 195

Warning: imagejpeg(): supplied argument is not a valid Image resource in /www/htdocs/hmhmhm/admin/plugins/batch_annotate.php on line 196

Warning: imagedestroy(): supplied argument is not a valid Image resource in /www/htdocs/hmhmhm/admin/plugins/batch_annotate.php on line 197


and i also get errormessages when i want to batch it with an image =)

online i didn´t get the errormessage with the font error :)

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #244 on: June 26, 2003, 11:58:28 PM »
most probably your php was compiled without freetype support

Offline xtase

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://www.xtase.net
[Mod] Image Annotation (Watermark)
« Reply #245 on: June 28, 2003, 06:23:39 PM »
Quote from: SLL
most probably your php was compiled without freetype support


so i have to talk to the hoster ?  :roll:

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #246 on: June 28, 2003, 08:00:47 PM »
first of all run this file on your server and read output (gd module capabilities)
Code: [Select]
<?php
phpinfo
&#40;&#41;;
phpinfo&#40;INFO_MODULES&#41;;
?>


Offline xtase

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • http://www.xtase.net
[Mod] Image Annotation (Watermark)
« Reply #247 on: June 29, 2003, 11:29:18 PM »
look -> http://gallery.xtase.net/phpinfo.php

GD features are ...

Quote
GD Support -enabled
GD Version - bundled (2.0 compatible)
FreeType Support - enabled
FreeType Linkage - with freetype
T1Lib Support - enabled
GIF Read Support -  enabled
JPG Support - enabled
PNG Support - enabled
WBMP Support - enabled


 :roll:

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #248 on: June 30, 2003, 12:21:55 PM »
Quote from: xtase
FreeType Support - enabled
FreeType Linkage - with freetype

then it's just a matter of settings. check again.. check path, check name, check case, check if this is windows ttf font.....

Offline lutz

  • Addicted member
  • ******
  • Posts: 1.675
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #249 on: July 04, 2003, 02:49:53 PM »
hi all,
Quote from: NeoNuss
I use ImageMagick and the skript works fine, the batchprocess runs and there are no error messages. I include a small logo as .png-file in the lower right corner of the image - but nothing happens! there is no logo! ...

the same with me...
all i want is to annotate with an image.
there is no gd2, but i understood this mod to be working only with imagemagick in this case (using linux-server)...?
Grüße, Lutz
kurze antworten sind nicht unhöflich gemeint, sondern effizient
short answers are not meant rude, but just efficient

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #250 on: July 04, 2003, 02:57:57 PM »
Quote from: lutz
there is no gd2, but i understood this mod to be working only with imagemagick in this case (using linux-server)...?

yes, it works this way.... at least on my system  :lol:

the problem is that here, in this forum, we can see only problems. if mod is running fine, nobody cares writing positive reply   :wink:
for the moment this mod has been downloaded more by than 500 users. even if just one third of them had installed it, do you believe that all of them didn't work?

Offline lutz

  • Addicted member
  • ******
  • Posts: 1.675
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #251 on: July 04, 2003, 03:37:47 PM »
Quote from: SLL
...do you believe that all of them didn't work?

why should i assume this??
maybe there is a misunderstanding. i was not really sure whether it should work (-> only using an image to annotate) without gd or not.
the good news: it should work :lol:
the bad news: it doesn´t work :cry: (on my linux system with two versions of IM in the repertory: 4.2.9 and 5.4.7)

Quote
if mod is running fine, nobody cares writing positive reply

any such replys are very welcome :wink:

@ Neonuss: have you solved your problem in the meantime?
Grüße, Lutz
kurze antworten sind nicht unhöflich gemeint, sondern effizient
short answers are not meant rude, but just efficient

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #252 on: July 04, 2003, 03:46:46 PM »
Quote from: lutz
the bad news: it doesn´t work :cry: (on my linux system with two versions of IM in the repertory: 4.2.9 and 5.4.7)

the best and easiest way to debug such problems (when no error message generated but script just doesn't work) is to put echo $comand; before or after system($command); then try to run exactly the same command line as you see from unix shell, from the same directory where php script is located.

Offline lutz

  • Addicted member
  • ******
  • Posts: 1.675
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #253 on: July 04, 2003, 03:58:21 PM »
many thanx for your express answer!  :wink:

unfortunately, i´m not able to do this by myself, because i´m only a photographer...
but i will find someone to check this for me.
Grüße, Lutz
kurze antworten sind nicht unhöflich gemeint, sondern effizient
short answers are not meant rude, but just efficient

Offline ascanio

  • Hero Member
  • *****
  • Posts: 569
    • View Profile
    • http://www.surfourspace.net
Re: [Mod] Image Annotation (Watermark)
« Reply #254 on: March 11, 2005, 05:34:38 PM »
Hi I use a Mod for check new images made by V@no call check for new images(i guess) and I get an error when y check the option of the wattermark I get this error

Code: [Select]
Warning: imagesx(): supplied argument is not a valid Image resource in /home/ascanio/domains/chicas-msn.tk/public_html/girls/includes/annotate.php on line 176

Warning: imagesy(): supplied argument is not a valid Image resource in /home/ascanio/domains/chicas-msn.tk/public_html/girls/includes/annotate.php on line 177

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/ascanio/domains/chicas-msn.tk/public_html/girls/includes/annotate.php on line 184

Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/ascanio/domains/chicas-msn.tk/public_html/girls/includes/annotate.php on line 185

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/ascanio/domains/chicas-msn.tk/public_html/girls/includes/annotate.php on line 186
Working on data/media/49/cathy.jpg file:
Added annotation in data/media/49/cathy.jpg file.
Created thumbnail.
Imagen agregada: cathy

« Last Edit: March 11, 2005, 05:43:08 PM by ascanio »