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

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

0 Members and 1 Guest are viewing this topic.

Offline lakeside

  • Full Member
  • ***
  • Posts: 123
    • View Profile
I have a problem
« Reply #150 on: May 04, 2003, 05:57:18 PM »
I just used the batch annotation on a gallery where the user who owns the photos is Lakeside, but in the watermark it shows
sitename - admin
site url

This only seems to happen during batch watermarking, when a user just uploaded two photos they both came out with his username instead of admin which is what I am when logged into my admins control panel.

Any suggestions?

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
Re: I have a problem
« Reply #151 on: May 04, 2003, 07:39:23 PM »
Quote from: lakeside
Any suggestions?


 :lol:  guess, what it the username of the only user, who is able to run plugins?  i believe, it Admin... so what name you're expecting to see it the annotation?  :lol:  :lol:

Offline lakeside

  • Full Member
  • ***
  • Posts: 123
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #152 on: May 04, 2003, 07:42:38 PM »
Sorry, I assumed wrongly then.  I asssumed that the annotation would grab who the rightfull owner is and write that as the users name on the image.

Im glad I did it with my own gallery first.

Now I've just switched my watermark to
site name -site url to do all the batch annotation, then will switch it back to using the username so that new uploads will contain the users name in it.

Thanks for a great mod by the way.

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #153 on: May 04, 2003, 07:52:34 PM »
Quote from: lakeside
I asssumed that the annotation would grab who the rightfull owner is and write that as the users name on the image.

mmm... i haven't even thought about such feature. and i don't thik it's really needed. batch plugin is just a small tool which helps you to annotate old images. multiple db queries could slow down this process. but if somebody need this, i can try to do this in the next version

Offline lakeside

  • Full Member
  • ***
  • Posts: 123
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #154 on: May 04, 2003, 07:55:44 PM »
Oh, by the way, if I choose a main category that has no images in it, but has multiple sub categories, will the batch annotate traverse down the categories, and annotate all the subcategory images as well, or must I pick each subcategory one by one?

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #155 on: May 04, 2003, 08:07:01 PM »
you have to select each category and sub-category one by one

Offline andersen

  • Newbie
  • *
  • Posts: 34
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #156 on: May 12, 2003, 10:41:10 AM »
Quote from: V@no
but did u do that?  :roll:
this mod REQUERED GD2.
making thubnails does not requered GD2, and if u dont do that changes, 4images wont use fully features of GD2


PLease teach me how to check my server got GD2 or not?

P/s: I got ImageMagick, can it run without GD2? (Even I don't know do my server have GD2 or not.

* I had used "test.php" but the result is small error picture on my browser.
* I had done all process with install, but my site doesn't seen any different. ( control panel have additional function on plugin)

get the result as below

Annotating between image ID 0 and 5:
Processing image Rubish maker from category With PhotoGraphs, image ID 1 >> Skipped
Processing image Malaysia Schumacher no. 1 from category With PhotoGraphs, image ID 5 >> Skipped


Finished!

===========================

But when I goes to my picture nothing change.

Thanks
What's wrong, huh?

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #157 on: May 12, 2003, 02:17:05 PM »
Quote from: andersen
* I had used "test.php" but the result is small error picture on my browser.

most likely you don't have gd2 library installed, which means you're not able to use this mod, even with image magic

Offline ksk

  • Pre-Newbie
  • Posts: 7
    • View Profile
GD 2.0 not support gif
« Reply #158 on: May 14, 2003, 01:32:14 AM »
hello vano/ssl

since gd 2.0 is not support .gif

do u still use GD2.0?
is there another way to use gd2.0 and support the gif? or i must use lower version of gd?
because when ppl upload .gif file

undefined blala...

thanks :)

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 #159 on: May 14, 2003, 02:03:13 AM »
I use both IM for .gif and GD2 for the rest. Just did little correction in the 4images code...
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 ksk

  • Pre-Newbie
  • Posts: 7
    • View Profile
hm
« Reply #160 on: May 14, 2003, 02:37:32 AM »
i use netpbm before,
but, can u show ur little correction pls hehe :)  :o

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 #161 on: May 14, 2003, 02:49:23 AM »
in /includes/image_utils.php find two times:
Code: [Select]
 $resize_handle = "resize_image_".$convert_options['convert_tool'];
replace both with:
Code: [Select]
 $resize_handle = "resize_image_".(($image_info[2] == 1) ? "im" : $convert_options['convert_tool']);
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 andersen

  • Newbie
  • *
  • Posts: 34
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #162 on: May 14, 2003, 09:01:17 AM »
Quote from: SLL
Quote from: andersen
* I had used "test.php" but the result is small error picture on my browser.

most likely you don't have gd2 library installed, which means you're not able to use this mod, even with image magic


Quote from: ksk
hello vano/ssl

since gd 2.0 is not support .gif

do u still use GD2.0?
is there another way to use gd2.0 and support the gif? or i must use lower version of gd?
because when ppl upload .gif file

undefined blala...

thanks :)


Since above conversation, please guide me below version, which version I need to install?

* gd-1.8.4
* gd-2.0.12

If version gd-2.0.12, need to  patching PHP for gd 2.0.8 and up.

Please give a best comment...
What's wrong, huh?

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #163 on: May 14, 2003, 10:43:37 AM »
Quote from: andersen
Since above conversation, please guide me below version, which version I need to install?

if you want to get gif support back and have enough rights on your server, i'd suggest to use patched version of gd library, which you can find here

Offline andersen

  • Newbie
  • *
  • Posts: 34
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #164 on: May 14, 2003, 11:03:06 AM »
Quote from: SLL
if you want to get gif support back and have enough rights on your server, i'd suggest to use patched version of gd library, which you can find here


I am really dumb of GD languages!

I had search the website (http://www.rime.com.au/gd/ ) you had provided me. I found a lot of patches download. I really don't dare download which 1 I really need.

Ok. My server have ImageMagick, do not have GD.

So If I wish to run this annotation -water mark mod. I need GD right?

I had found some GD with different name as below

* Patch to add internal GIF support to the Base GD library Version 2.0.12
* A Patched Library with GIF support
* A Patch to add support for the patched GD library back into version 2.041 of Lincoln Stein's GD.pm Perl Module
* A Patched GD.pm V2.041 Perl Module with GIF support

almost every patches have GIF support, I just simply choose once?

Once again, I am dumb of GD.[list=][/list]
What's wrong, huh?