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

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

0 Members and 2 Guests are viewing this topic.

Offline bibabobu

  • Sr. Member
  • ****
  • Posts: 311
  • Technische und künstlerische Gravuren
    • View Profile
    • Technische und künstlerische Gravuren für die gesamte Metall-, Kunststoff- und Papierindustrie
Re: [Mod] Image Annotation (Watermark)
« Reply #285 on: May 23, 2005, 08:51:52 PM »
as you can see in my postings above:
i use GD2. i think i installed the MOD correctly. All Admin control panels are working.
text embedding in user upload form works great!

BUT BATCH ANNOTATE is not working with GD2 for me!  WHY????!!!!!

i have tried several times with different settings. Nothing happened.

Please gimme some advice.  I'm getting frustrated.
 :cry:

Offline farhan

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #286 on: May 24, 2005, 07:30:40 AM »
what error are u getting bibabobu ?


Offline bibabobu

  • Sr. Member
  • ****
  • Posts: 311
  • Technische und künstlerische Gravuren
    • View Profile
    • Technische und künstlerische Gravuren für die gesamte Metall-, Kunststoff- und Papierindustrie
Re: [Mod] Image Annotation (Watermark)
« Reply #287 on: May 24, 2005, 08:14:09 AM »
i get no errors or i can't see them.
but i know that there is an opportunity to change something in the code to see errors.

Definitely there is no watermark embedded to my images by executing batch innotate with GD2 on WinXP.
I modified text annotation without shadow and opacity and in Arial.ttf.

In the direct upload form it is working! Why not in batch annotate???  :cry:

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Mod] Image Annotation (Watermark)
« Reply #288 on: May 24, 2005, 08:19:37 AM »
Quote
Requirements:     

To use in text annotation mode: GD2+ Library compiled with Freetype support. Also works with ImageMagic, but GD still needed for some functions, which ImageMagic is missing.
For "image embedding" mode you don't need anything.
Hello
What is the meaning of "For "image embedding" mode you don't need anything"?
the Problem i have is - i don't have GD only ImageMagic

thanks for feedback
Vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline graficalicus

  • Full Member
  • ***
  • Posts: 235
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #289 on: May 24, 2005, 05:50:11 PM »
Quote from: bibabobu
i get no errors or i can't see them.
but i know that there is an opportunity to change something in the code to see errors.



try -
Code: [Select]
uncomment this line in global.php:
Code:
//error_reporting(E_ALL);(assuming u are using v1.7.1)

in v1.7 insert below the existing error_reporting line this:
Code:
error_reporting(E_ALL);

Offline RamEEz

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #290 on: May 30, 2005, 11:32:41 AM »
Code: [Select]
Processing image Faraz Anwar from category Mizraab At Indus Music Awards, image ID 47 >>
Warning: imagettfbbox(): Could not find/open font in /home/mizraabi/public_html/gallery/includes/annotate.php on line 95

getting this error how to fix it.

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 #291 on: May 30, 2005, 11:36:17 AM »
Processing image Faraz Anwar from category Mizraab At Indus Music Awards, image ID 47 >>
Warning: imagettfbbox(): Could not find/open font in /home/mizraabi/public_html/gallery/includes/annotate.php on line 95
wrong path to the font file
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 RamEEz

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #292 on: May 30, 2005, 11:46:00 AM »
anyways i have fixed it myself :) thanks for the reply.

Offline Leitha

  • Pre-Newbie
  • Posts: 4
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #293 on: May 31, 2005, 05:52:54 PM »
I've search thru the boards for a solution to this but couldn't find anything.

I've installed the mod and everything works apart from the variables :

%N - Site Name, %H - full Site URL, %U - short Site URL, %S - User Name, %D - date, %T - time, %B - line break

Whenever I try to use these I literally just get %N %D (for example) instead of the variable. Anyone have any idea what the problem could be?

Offline bibabobu

  • Sr. Member
  • ****
  • Posts: 311
  • Technische und künstlerische Gravuren
    • View Profile
    • Technische und künstlerische Gravuren für die gesamte Metall-, Kunststoff- und Papierindustrie
Re: [Mod] Image Annotation (Watermark)
« Reply #294 on: May 31, 2005, 07:25:38 PM »
my prob is solved!

it was the path to the font.

with path:   /arial.ttf for example it works only for the direct upload to watermark the image.

with path: /home/mydomain.xy/4images/arial.ttf it works for both. direct upload and batch annotation.

Now I'm very happy. :D :D :D

Offline graficalicus

  • Full Member
  • ***
  • Posts: 235
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #295 on: May 31, 2005, 07:52:44 PM »
Quote
Whenever I try to use these I literally just get %N %D (for example) instead of the variable.

me too - are you using IM?  i think the variables aren't being parsed quite right, but I'm still messing with it.

The way IM is working, I might just post a complete MOD to this MOD with some different variations....

Offline RamEEz

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #296 on: June 02, 2005, 10:16:40 AM »
I am using this mod and its working fine. But i have a question

I have disabled "Use auto images annotation on image upload" but now when i click on "Batch Annotate" it doesnt show any watermark on the images.

is it possible that i can keep "Use auto images annotation on image upload" Disabled and i can still use the feature "Batch Annotate"?

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #297 on: June 03, 2005, 08:09:03 PM »
I installed the mod.

No problem.

I can enter everything in Cpanel.
The test php script works fine.

But

The mod doesn't do a thing.

There is no text on new pictures
no image on new pictures

an an error when using the batch annotate

Code: [Select]
Annotating between image ID 20 and 24:
Processing image test watermerk from category Huidige projecten, image ID 20 >>
Warning: chdir(): No such file or directory (errno 2) in /home/belgapix/public_html/includes/annotate.php on line 11

Warning: rename(zomer14.jpg,zomer14.jpg.bak): No such file or directory in /home/belgapix/public_html/includes/annotate.php on line 12
Skipped
Processing image test watermark from category Huidige projecten, image ID 21 >>
Warning: chdir(): No such file or directory (errno 2) in /home/belgapix/public_html/includes/annotate.php on line 11

Warning: rename(zomer01.jpg,zomer01.jpg.bak): No such file or directory in /home/belgapix/public_html/includes/annotate.php on line 12
Skipped
Processing image watermerk test2 from category Huidige projecten, image ID 22 >>
Warning: chdir(): No such file or directory (errno 2) in /home/belgapix/public_html/includes/annotate.php on line 11

Warning: rename(zomer02.jpg,zomer02.jpg.bak): No such file or directory in /home/belgapix/public_html/includes/annotate.php on line 12
Skipped
Processing image test watermark 4 from category Huidige projecten, image ID 23 >>
Warning: chdir(): No such file or directory (errno 2) in /home/belgapix/public_html/includes/annotate.php on line 11

Warning: rename(zomer08.jpg,zomer08.jpg.bak): No such file or directory in /home/belgapix/public_html/includes/annotate.php on line 12
Skipped
Processing image test 5 from category Huidige projecten, image ID 24 >>
Warning: chdir(): No such file or directory (errno 2) in /home/belgapix/public_html/includes/annotate.php on line 11

Warning: rename(zomer11.jpg,zomer11.jpg.bak): No such file or directory in /home/belgapix/public_html/includes/annotate.php on line 12
Skipped


Finished!



all my settings are correct i think

full path to font :
/public_html/fonts/arial.ttf

annotation text
Copyright D de Kievith

i work with GD 2.0 installed on the server, and the path is correct.

So why is nothing happening ??  :? :?









Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #298 on: June 03, 2005, 08:15:29 PM »
some more info :

gd
GD Support  enabled 
GD Version  bundled (2.0.28 compatible) 
FreeType Support  enabled 
FreeType Linkage  with freetype 
GIF Read Support  enabled 
GIF Create Support  enabled 
JPG Support  enabled 
PNG Support  enabled 
WBMP Support  enabled 
XBM Support  enabled 

PHP Version 4.3.11

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: [Mod] Image Annotation (Watermark)
« Reply #299 on: June 04, 2005, 01:00:14 PM »
batch annotate error is solved.

Because of an earlier MOD from "pic security", i changed the name of the folder where the pics are stored ( media ).

So the Watermark Mod couldn't find them.

Solved now.

But the watermark still doesn't appear during upload.

Must be some minor problem i think, but can't find it...