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

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

0 Members and 1 Guest are viewing this topic.

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #555 on: November 12, 2006, 06:13:49 AM »
Warning: imagettfbbox(): Could not find/open font in /home3/wowim/public_html/includes/annotate.php on line 95

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

wat can i do :(

Offline @rtur

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #556 on: November 12, 2006, 10:01:13 AM »
What change font settings (bold, italic, underline, itp) in this plugin?
Artur

Sorry for my bad English

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #557 on: November 12, 2006, 10:26:26 AM »
wat should i do wid font setting ?

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #558 on: November 12, 2006, 06:05:23 PM »
welll can i  put it like http://mysite/fonts.ttf ? like this or no cause i dont know what would be the server location :(

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #559 on: November 12, 2006, 07:32:09 PM »
Now when i do this it says No category selected, nothing to annotate...

Finished!
« Last Edit: November 13, 2006, 01:54:02 AM by __G__ »

Offline goldcoin

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • Coly Wallpapers
Re: [Mod] Image Annotation (Watermark)
« Reply #560 on: November 14, 2006, 09:33:26 PM »
Ok now i'm really stuck.
I will PAY to anyone who could help me to run this mod.

Here is what i've done :

1) I've run the test.php file (with the pre-install code in it) and it works fine. i can see the black
background with the text inside it.

2) download the zip file contains the script files and opened the install.doc file.
it says :

Files To Edit:       
/4images/member.php
/4images/admin/index.php
/4images/lang/english/admin.php


but there is a setting.php file as well, anyway i've edited all the files exacly like the install file shows
and uploaded them all to the server.

i don't really need this mod to work for images that users upload to the system because i don't allow
users to upload their own images in my website, i only need it to watermark the images that i've already
uploaded.
so i press the "Batch Annotate" at the buttom of my admin page and i'm getting this error :

Warning: main(./../admin/admin_global.php) [function.main]: failed to open stream: No such file or directory in /home/****/public_html/img/admin/plugins/batch_annotate.php on line 8

Warning: main(./../admin/admin_global.php) [function.main]: failed to open stream: No such file or directory in /home/****/public_html/img/admin/plugins/batch_annotate.php on line 8

Fatal error: main() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/****/public_html/img/admin/plugins/batch_annotate.php on line 8


here is line 8 : 
require(ROOT_PATH.'admin/admin_global.php');

this is the 3rd time i'm trying to install this mod.

Please help!!  :cry:

Offline goldcoin

  • Pre-Newbie
  • Posts: 9
    • View Profile
    • Coly Wallpapers
Re: [Mod] Image Annotation (Watermark)
« Reply #561 on: November 15, 2006, 01:05:34 PM »
Ok the problem is fixed now after i've changed something in batch_annotate.php
This MOD works great now, many thanks to the developer.

I have another question,
I've uploaded my own logo-gd.png and i would like to use an image watermark instead of text.
But how can i use the image file without any background?
In the script setting it ask me to enter a BG color '#00000' but i don't want any background at all.
I just want to use the image as is.

Any idea?

Offline SagaatHome

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #562 on: November 16, 2006, 02:07:55 PM »
i have the same problem.GD 2 is testet and functional.

Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /is/htdocs/wpxxxxxxx_LXJBKUKH/www/4images/admin/plugins/batch_annotate.php on line 8

Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/share/pear/php5') in /is/htdocs/wpxxxxxx_LXJXBKKH/www/4images/admin/plugins/batch_annotate.php on line 8

I don`t know where the problem is, cause the root path is correct! rootpath is set to 4images and the admin folder is admin/admin_globals.php???I dont know whats wrong with the line...?

Anyway the mod works fine, when uploading new pictures...!Thanks a lot!

Offline live@ct

  • Sr. Member
  • ****
  • Posts: 348
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #563 on: November 17, 2006, 07:38:19 PM »
I get this error:

No category selected, nothing to annotate...

Finished!

I think that this problem its about something with the drop down categorie select, because when I add a new image and select anottate the image has the anottation msg
but when I use the Batch Anottate its not working! :(
Existen 10 tipos de personas, los que entienden el codigo binario y los que no.

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #564 on: November 18, 2006, 06:46:23 PM »
But how can i use the image file without any background?
In the script setting it ask me to enter a BG color '#00000' but i don't want any background at all.
I just want to use the image as is.

Any idea?

with this setting you chose the color to be considered by the system as a background and set as a transparent. in other words, a part of your image with this color will "disappear". if you are not going to use transparance feature - just set any color wich does not exist on your annotation image, or just do not specify anything

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #565 on: November 18, 2006, 06:50:05 PM »
I don`t know where the problem is, cause the root path is correct! rootpath is set to 4images and the admin folder is admin/admin_globals.php???I dont know whats wrong with the line...?

the point is that root path relative to the admin directory and the root path relative to the main 4images directory are different

Offline wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: [Mod] Image Annotation (Watermark)
« Reply #566 on: November 23, 2006, 09:17:21 PM »
I don`t know where the problem is, cause the root path is correct! rootpath is set to 4images and the admin folder is admin/admin_globals.php???I dont know whats wrong with the line...?

the point is that root path relative to the admin directory and the root path relative to the main 4images directory are different

I have the same problem.
But how i solve this problem with the different paths  :roll:



Offline wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: [Mod] Image Annotation (Watermark)
« Reply #567 on: November 23, 2006, 09:53:57 PM »
I have a solution

Change in batch_annotate.php
Code: [Select]
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
to:
Code: [Select]
$root_path = (!eregi("\/plugins\/", $_SERVER['PHP_SELF'])) ? "./../" : "./../../";



Offline wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: [Mod] Image Annotation (Watermark)
« Reply #568 on: November 26, 2006, 07:47:23 PM »
After making some errors i have in my eror log some new things.
I don't now how to get a solution for these.
but the batch annotate scrips says the averything is done.
but i have now watermarks on my pictures.
the code below comes out of my error log mayby someone have a solution :D
Code: [Select]
[client 195.241.210.90] PHP Warning: imagesx(): supplied argument is not a valid Image resource in /home/vhosts/tuned-cars.net/httpdocs/includes/annotate.php on line 176, referer: http://www.tuned-cars.net/admin/index.php
[client 195.241.210.90] PHP Warning: imagesy(): supplied argument is not a valid Image resource in /home/vhosts/tuned-cars.net/httpdocs/includes/annotate.php on line 177, referer: http://www.tuned-cars.net/admin/index.php
[client 195.241.210.90] PHP Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/vhosts/tuned-cars.net/httpdocs/includes/annotate.php on line 184, referer: http://www.tuned-cars.net/admin/index.php
[client 195.241.210.90] PHP Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/vhosts/tuned-cars.net/httpdocs/includes/annotate.php on line 185, referer: http://www.tuned-cars.net/admin/index.php
[client 195.241.210.90] PHP Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/vhosts/tuned-cars.net/httpdocs/includes/annotate.php on line 186, referer: http://www.tuned-cars.net/admin/index.php



Offline SagaatHome

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #569 on: November 27, 2006, 12:05:29 PM »
thx wallpapers it worked!!!