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

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

0 Members and 2 Guests are viewing this topic.

Offline Yegor

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://www.planetboredom.net
[Mod] Image Annotation (Watermark)
« Reply #195 on: June 04, 2003, 12:16:17 AM »
Also, when I try to do Batch annotations, it doesn't work.

Processing image Nose from category Tard Shots, image ID 492 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/admin/plugins/batch_annotate.php on line 178

Warning: imagesy(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/admin/plugins/batch_annotate.php on line 179

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/admin/plugins/batch_annotate.php on line 186

Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/admin/plugins/batch_annotate.php on line 187

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/admin/plugins/batch_annotate.php on line 188
OK
PlanetBoredom.net
 - Things to do when you are bored.  [ Advertise ]

Offline Yegor

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://www.planetboredom.net
[Mod] Image Annotation (Watermark)
« Reply #196 on: June 04, 2003, 07:29:57 PM »
come on... somebody help me fix batch annotations.
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 #197 on: June 04, 2003, 09:14:14 PM »
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


I don't know what it means but I changed line 4 from:

Code: [Select]
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
to
Code: [Select]
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../../";

And now it seems to work. But the settings don't show in the settingsmenu as part 8. The text [Images Annotation Settings] does but the options not :-(.
I can go directly to them but that can't be the idea.

Maybe the codechanging wasn't such as good idea.

Piet

Piet

Offline Pepeillo

  • Pre-Newbie
  • Posts: 3
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #198 on: June 05, 2003, 08:23:59 PM »
I've installed the MOD without problem but when i click on Batch Annotate, it says:

Annotating between image ID 0 and 2:
Processing image nn from category nn, image ID 1 >> Skipped
Processing image nn from category nn, image ID 2 >> Skipped


Finished!

[Back]

and nothing happens. I tried the test program and i see the black box with the white text.

Any help?

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #199 on: June 05, 2003, 08:34:26 PM »
Quote from: Pepeillo
Processing image nn from category nn, image ID 1 >> Skipped

nothing strange  :wink:  "skipped" means than image was not processed for some reason. try upload images as a regular user and see some error messages.

Offline Pepeillo

  • Pre-Newbie
  • Posts: 3
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #200 on: June 05, 2003, 09:14:56 PM »
Thanks SSL. I did it and I've found many errors :cry:
Code: [Select]
Annotating between image ID 20 and 29:
Processing image Cueva from category Varios, image ID 22 >>
Warning: imagecolorresolvealpha(): requires GD 2.0 or later in /***/host****/b****/admin/plugins/batch_annotate.php on line 52

Warning: imagecolorresolvealpha(): requires GD 2.0 or later in /***/host****/b****/admin/plugins/batch_annotate.php on line 52

Warning: imagesx(): supplied argument is not a valid Image resource in /***/host****/b****/admin/plugins/batch_annotate.php on line 178

Warning: imagesy(): supplied argument is not a valid Image resource in /***/host****/b****/admin/plugins/batch_annotate.php on line 179

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /***/host****/b****/admin/plugins/batch_annotate.php on line 186

Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /***/host****/b****/admin/plugins/batch_annotate.php on line 187

Warning: imagecopymerge(): supplied argument is not a valid Image resource in /***/host****/b****/admin/plugins/batch_annotate.php on line 188
OK



I'm still crying :cry:  :cry:

My host haven't GD2. More Crying :cry:  but thanks a lot :D

Offline Yegor

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • http://www.planetboredom.net
[Mod] Image Annotation (Watermark)
« Reply #201 on: June 05, 2003, 11:19:39 PM »
i have the same problem. I DO have GD2. when I upload it works, when I do batch, it doesn't.
PlanetBoredom.net
 - Things to do when you are bored.  [ Advertise ]

Offline Slammer

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://www.mobile-snapshots.com
[Mod] Image Annotation (Watermark)
« Reply #202 on: June 12, 2003, 02:34:58 PM »
just so i know if it is worth installing this MOD, it will ONLY work if the 'test code' worked out for you?
(this one:)
Code: [Select]
<?php 
header 
&#40;"Content-type&#58; image/png"&#41;; 
$im imagecreate &#40;180, 30&#41;; 
$black imagecolorallocate &#40;$im, 0, 0, 0&#41;; 
$white imagecolorallocate &#40;$im, 255, 255, 255&#41;; 
imagettftext &#40;$im, 14, 0, 10, 21, $white, "/home/public_html/arial.ttf", "GD Freetype test"&#41;; 
imagepng &#40;$im&#41;; 
imagedestroy &#40;$im&#41;; 
?>
http://www.mobile-snapshots.com
made a great snapshot with your mobile? upload it now!

Offline Nca

  • Newbie
  • *
  • Posts: 34
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #203 on: June 12, 2003, 04:35:11 PM »
Hello.

I just installed the mod, and "Image Annotation Setting" part on "Settings" not showing up. The link is up there but the "settings_group_8" part is not.

I am pretty sure did everything as it said on manual. Apologize if it have been asked before.

Please Help!

Nca.

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #204 on: June 12, 2003, 06:55:50 PM »
Quote from: Nca
I just installed the mod, and "Image Annotation Setting" part on "Settings" not showing up. The link is up there but the "settings_group_8" part is not.

since the last mod version it's not a part of gallery "settings" anymore. you should see separate group right below "settings" it admin control panel

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #205 on: June 12, 2003, 06:57:37 PM »
Quote from: Slammer
just so i know if it is worth installing this MOD, it will ONLY work if the 'test code' worked out for you?

the latest mod version should work without gd, but only in the "image embedding" mode

Offline Nca

  • Newbie
  • *
  • Posts: 34
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #206 on: June 12, 2003, 07:24:50 PM »
Quote from: SLL
Quote from: Nca
I just installed the mod, and "Image Annotation Setting" part on "Settings" not showing up. The link is up there but the "settings_group_8" part is not.

since the last mod version it's not a part of gallery "settings" anymore. you should see separate group right below "settings" it admin control panel


sorry, i don't see anything new except "plugins: batch annotate" thing. it might be funny, but thas true.

Nca.

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #207 on: June 13, 2003, 01:00:19 AM »
Quote from: Nca
sorry, i don't see anything new except "plugins: batch annotate" thing. it might be funny, but thas true.

either you're installing older mod version, or you've missed some installation steps... i'd suggest to start from the begining - dl mod again, restore your backup and apply this mod once again

Offline Nca

  • Newbie
  • *
  • Posts: 34
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #208 on: June 13, 2003, 10:16:16 AM »
did everything reverse on manual, and applied my backed up database. everything suppose to be working as before now? but now my thumbnails coming up low quality!

please visit: www.chingis.com/ann_thumbs/

train1.jpg is what it have been before the mod. i am pretty sure backed up my database, however it was late night, i might have mistaked. had enough trouble with this mod. no offence. maybe will try later. all i need now, my thumbnails back.

please, what do i need to do to get my thumbnails back normal?

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #209 on: June 13, 2003, 11:45:19 AM »
hmm... actualy this mod doesn't touch thumbs at all... seems you're using GD, so go /includes/constants.php and check
Quote
// If you use GD higher 2.0.1 and PHP higher 4.0.6 set this to 1.
// Your thumbnails will be created with better quality
define('CONVERT_IS_GD2', 1);