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

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

0 Members and 2 Guests are viewing this topic.

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #180 on: May 30, 2003, 08:35:19 AM »
Quote from: popo
I select  "embedding image" for Annotation, it seems good, a gd-png image appear on the picture I upload. but when I select "text" for Annotation, just nothing on the picture I upload. the system would have someting problem ?

Probably you've set the wrong font path or filename

Offline eurohp

  • Pre-Newbie
  • Posts: 7
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #181 on: May 30, 2003, 09:31:52 AM »
@SLL:
Thanks, now the quality is fine.

Offline Lord Nite

  • Newbie
  • *
  • Posts: 43
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #182 on: June 02, 2003, 07:23:00 AM »
One thing you forgot to add.

Code: [Select]
lang/english/admin.php

Find:
$lang['nav_general_settings'] = "Settings";

Directly Below:
$lang['nav_ann_settings'] = "Annotation Settings";

Code: [Select]
lang/deustch/admin.php

Find:
$lang['nav_general_settings'] = "Einstellungen";

Directly Below Add:
$lang['nav_ann_settings'] = "Annotation Einstellungen";


Seeing as how Russian text doesn't like to show up, do the same in russian/admin.php

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #183 on: June 02, 2003, 08:46:54 AM »
Quote from: Lord Nite
One thing you forgot to add.

 :oops:  fixed, thanks...

Offline Lord Nite

  • Newbie
  • *
  • Posts: 43
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #184 on: June 03, 2003, 03:21:55 PM »
Quote from: SLL
Quote from: Lord Nite
One thing you forgot to add.

 :oops:  fixed, thanks...


No problem.  Took me a sec to realize that when the link would only show up as a small block with no text.

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
[Mod] Image Annotation (Watermark)
« Reply #185 on: June 03, 2003, 03:23:30 PM »
Quote from: Lord Nite
Took me a sec to realize that when the link would only show up as a small block with no text.

Lucky u...took me whole lot longer, because there didnt show up anything...:lol:
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 Lord Nite

  • Newbie
  • *
  • Posts: 43
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #186 on: June 03, 2003, 05:33:48 PM »
Quote from: V@no

Lucky u...took me whole lot longer, because there didnt show up anything...:lol:


Well, when I saw a white space between Settings and Templates, and the cursor changed to a hand......I was like....

Then I realized that the link in settings didn't work, so it just clicked after that.

Otherwise, an awesome mod if I can ever figure out the path to ImageMagick  :mrgreen:

Offline HamedF

  • Newbie
  • *
  • Posts: 17
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #187 on: June 03, 2003, 05:45:29 PM »
Hello,


i am trying to install your script but i got one problem :
everything works on my server, even if i click on Batch Annotate it does something :

Annotating between image ID 0 and 2:
Processing image fgh from category gfh, image ID 1 >> Skipped
Processing image cv from category gfh, image ID 2 >> Skipped


Finished!

[Back]  


BUT *g* : if i click in the german version on einstellungen, there is the point Bild Annotation Einstellungen]  
 but if i click on it, nothing comes up.
then i scroll down to the end, but the last setting is : Administratoren im Modul "Wer ist online" fett dargestellt werden

i know that i put the code corectly in,...

can u help me ?

Offline Yegor

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://www.planetboredom.net
[Mod] Image Annotation (Watermark)
« Reply #188 on: June 03, 2003, 06:28:43 PM »
I just tried to install this plug in, and I failed miserably. Im not sure whats wrong though. I put up the GD test script that was posted, and I got this:
http://www.planetboredom.net/pix/gd_test.php

Does that mean GD2 isn't installed? I know that GD is installed ont he server, I just don't know which version.

Also, I used NETPBM to make thumbnails, and after I set up this plug in, NetPBM option dissapeared from the settings page. Does GD have to be selected in settings in order for this script to work?

ALso, whenever I upload an image, I get this error.

Warning: Missing argument 5 for create_thumbnail() in /home/yegor/public_html/pix/includes/image_utils.php on line 138

Fatal error: Call to undefined function: imagettfbbox() in /home/yegor/public_html/pix/includes/annotate.php on line 78

If I change it to image (annotation), the last line is replaced with

Fatal error: Call to undefined function: imagegif() in /home/yegor/public_html/pix/includes/image_utils.php on line 79

if I upload a Jpeg I get an XML error:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

Only one top level element is allowed in an XML document. Line 2, Position 2
 

<b>Warning</b>:  Missing argument 5 for create_thumbnail() in <b>/home/yegor/public_html/pix/includes/image_utils.php</b> on line <b>138</b><br />
-^

What is going on?
PlanetBoredom.net
 - Things to do when you are bored.  [ Advertise ]

Offline pietg

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
    • http://www.totaaldigitaal.nl
[Mod] Image Annotation (Watermark)
« Reply #189 on: June 03, 2003, 09:50:07 PM »
When install this plugin on my "normal" completely functioning server (w2k + 4images running ok) I get the following error.

Quote
Warning: main(./../admin/admin_global.php) [function.main]: failed to create stream: No such file or directory in D:\home\sites\onsite\web\gallery\admin\plugins\batch_annotate.php on line 8


Where did I go wrong? Doesn't the plug pickup the normal pathsetting or ...?

Piet

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
[Mod] Image Annotation (Watermark)
« Reply #190 on: June 03, 2003, 09:53:00 PM »
Quote from: pietg
When install this plugin on my "normal" completely functioning server (w2k + 4images running ok) I get the following error.

Quote
Warning: main(./../admin/admin_global.php) [function.main]: failed to create stream: No such file or directory in D:\home\sites\onsite\web\gallery\admin\plugins\batch_annotate.php on line 8


Where did I go wrong? Doesn't the plug pickup the normal pathsetting or ...?

Piet

maybe u need set righ permissions?
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 Yegor

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://www.planetboredom.net
[Mod] Image Annotation (Watermark)
« Reply #191 on: June 03, 2003, 10:17:27 PM »
what about my problem? SOMEONE HELP!
PlanetBoredom.net
 - Things to do when you are bored.  [ Advertise ]

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
[Mod] Image Annotation (Watermark)
« Reply #192 on: June 03, 2003, 10:25:51 PM »
Quote from: Yegor
what about my problem? SOMEONE HELP!

seems your host either didnt install GD2 or GD2 installed without True font  support.
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 SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #193 on: June 03, 2003, 10:29:21 PM »
Quote from: Yegor
what about my problem? SOMEONE HELP!

test script says
Quote
If you see black square with white text, than your system meets all neccessary requirements.

i'm pretty sure you haven't seen any text or box, so why you've installed this md?? i'd suggest you to restore 4images bakup files.

Offline Yegor

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://www.planetboredom.net
[Mod] Image Annotation (Watermark)
« Reply #194 on: June 03, 2003, 11:28:49 PM »
Ok I figured something out, im retarded and I accidently uplaoded the edited files from 1.6.1 instead of 1.7

I got the image watermark to work, but text still isn't working.

Fatal error: Call to undefined function: imagettfbbox() in /home/yegor/public_html/pix/includes/annotate.php on line 78

I presume that means that Free typeisn't installed.


No matter, as long as image works, Im happy! 1 more thing, in order for this to work, GD has to be selected in the control panel. 10% of the image I upload are gifs, and therefore won't upload since GD isn't compatible. NetPBM, which I use works with both. When I slect netpbm, the annotations controls dissapear, and it no longer adds a watermark. Is it possible to amke it so it works even though GD isn't selected in the control panel?
PlanetBoredom.net
 - Things to do when you are bored.  [ Advertise ]