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

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

0 Members and 6 Guests are viewing this topic.

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #135 on: April 19, 2003, 08:57:11 AM »
Quote from: Shap
anyone know what this means?


I'm afraid, that means your system doesn't have GD installed

Offline Shap

  • Full Member
  • ***
  • Posts: 114
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #136 on: April 19, 2003, 09:00:31 AM »
wierd they told me it was installed, and that they just updated every part of it.?

I'll have to have a talk with them..

Offline Shap

  • Full Member
  • ***
  • Posts: 114
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #137 on: April 24, 2003, 01:58:24 AM »
got it installed, when I go to admin controls I get this error

Code: [Select]
Parse error: parse error, unexpected T_STRING in /home/mad/public_html/lang/english/admin.php on line 565\

here is what line 565 is:

Code: [Select]
$setting['annotation_right_offset'] = "Right annotation margin";

?

Offline Shap

  • Full Member
  • ***
  • Posts: 114
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #138 on: April 24, 2003, 05:19:07 AM »
correction:

here is the error
Code: [Select]
Parse error: parse error, unexpected T_STRING in /home/mad/public_html/lang/english/admin.php on line 566

Here is my code, the first line is line 566
Code: [Select]
class=\\"smalltext\\">You can use the following variables: <b>%N</b> - Site Name, <b>%H</b> - full Site URL, <b>%U</b> - short Site URL, <b>%S</b> - User Name, <b>%D</b> - date, <b>%T</b> - time, <b>%B</b> - line break</span>";\par
$setting['annotation_fill_color'] = "Annotation text fill color<br /><span class=\\"smalltext\\">Define HEX value, for example #FFFFFF. Have a look at <a target=\\"_blank\\" href=\\"color.html\\">color samples</a></span>";\par
$setting['annotation_shadow_color'] = "Annotation text shadow color<br /><span class=\\"smalltext\\">Define HEX value, for example #000000. Have a look at <a target=\\"_blank\\" href=\\"cM³
 {\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}}
\viewkind4\uc1\pard\lang1033\f0\fs20 /*-- Setting-Group 8 --*/\par
$setting_group[8]="Images Annotation settings";\par
$setting['annotation_use'] = "Use auto images annotation on image upload";\par
$setting['annotation_font'] = "Annotation font<br /><span class=\\"smalltext\\">Windows True Type Fonts only! Specify full path and font filename</span>";\par
$setting['annotation_font_size'] = "Annotation font size";\par
$setting['annotation_use_shadow'] = "Use letter shadows";\par
$setting['annotation_shadow_offset'] = "Shadow offset (same right and down)";\par
$setting['annotation_image_quality'] = "Resulting image quality (in per cent)";\par
$setting['annotation_text'] = "Annotation text<br /><span class=\\"smalltext\\">You can use the following variables: <b>%N</b> - Site Name, <b>%H</b> - full Site URL, <b>%U</b> - short Site URL, <b>%S</b> - User Name, <b>%D</b> - date, <b>%T</b> - time, <b>%B</b> - line break</span>";\par
$setting['annotation_fill_color'] = "Annotation text fill color<br /><span class=\\"smalltext\\">Define HEX value, for example #FFFFFF. Have a look at <a target=\\"_blank\\" href=\\"color.html\\">color samples</a></span>";\par
$setting['annotation_shadow_color'] = "Annotation text shadow color<br /><span class=\\"smalltext\\">Define HEX value, for example #000000. Have a look at <a target=\\"_blank\\" href=\\"color.html\\">color samples</a></span>";\par
$setting['annotation_fill_alpha'] = "Fill color alpha blend
?>

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #139 on: April 24, 2003, 08:23:07 AM »
Quote from: Shap
Here is my code, the first line is line 566

you should use some other text editor. there's a lot of "garbage" in your code. please compare it with original

Offline Shap

  • Full Member
  • ***
  • Posts: 114
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #140 on: April 29, 2003, 08:01:56 AM »
ok, used a plain text editor and a fresh lang/english/admin.php page from a new download and am still getting the same error?

could it have been caused by something when I "ran" the install file?

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #141 on: April 29, 2003, 09:19:08 AM »
Quote from: Shap
could it have been caused by something when I "ran" the install file?


no, this error has nothing to do with install file. just check and double check language file.

Offline Shap

  • Full Member
  • ***
  • Posts: 114
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #142 on: April 29, 2003, 07:04:00 PM »
could I see someone elses lanuage file to compare to mine (someone with this mod)

anyone? thanks

Offline Shap

  • Full Member
  • ***
  • Posts: 114
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #143 on: April 30, 2003, 07:05:31 PM »
*bumb*



(cant access my admin area)

Offline lakeside

  • Full Member
  • ***
  • Posts: 123
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #144 on: April 30, 2003, 07:42:22 PM »
Does this write the watermark directly to the image when uploaded, or only when displayed?  I like the idea of it, but if someone clicks on the download button, I'd really like it not to have the watermark on it.  Which way does this mod do this? Realtime when viewing the image or when the user actually uploads the image?

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 #145 on: April 30, 2003, 07:59:11 PM »
it writes watermark directly into the image when it uploaded.
the only way u can "give" users the images without watermark is copy original image into separate folder just before do the watermark. ( posted sometime ago a little addon that does it, not in this thread though)
then, u can combine it with another mod avalable on this forum, that let visitors download different sizes of images.
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 Shap

  • Full Member
  • ***
  • Posts: 114
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #146 on: April 30, 2003, 10:16:04 PM »
why would you not want the watermark on it? Just curious, but its a great advertising tool.

plzz if anyone with the working MOD can post there lang/admin code, it would be GREATTTLY appreciated.

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 #147 on: April 30, 2003, 10:31:34 PM »
Quote from: Shap
plzz if anyone with the working MOD can post there lang/admin code, it would be GREATTTLY appreciated.

If this is your fist MOD that requre changes in admin.php then just download 4images/language pack again and use NORMAL editor.
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 lakeside

  • Full Member
  • ***
  • Posts: 123
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #148 on: May 02, 2003, 06:16:15 PM »
Okay, I've read through most of the pages of this thread and I came across one message that said that GD doesnt support gif, so if a user uploads a gif file, will it just not watermark it, or will it not allow the upload and error out?

I've tried this on my server already, but it seems that when I upload a file over 100k, the isp comes back with an dns error and it doesnt upload, so trying this alone is not working for me.

Anyone know?

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
[Mod] Image Annotation (Watermark)
« Reply #149 on: May 02, 2003, 10:06:23 PM »
You'll get an error Call to undefined function: imagecreatefromgif(), but this has nothing to do with this MOD. Gif support just has been removed from GD lib one day... With ImageMagic gif images should be annotated exactly the same way, as with jpegs.