4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Topic started by: SLL on January 27, 2003, 04:30:46 PM
-
Auto annotate images MOD for 4images - Image Gallery Management System.
Version: 1.4
Author: Silly Little Lamer <sll@dalnet.ru>
Description:
This MOD automatically places a line of custom text, called "Annotation" on every image uploaded to the Gallery. Fully customizable: font type, size and color, shadow usage, offsets, annotation location, etc. "Batch Annotate" admin plug-in included, to annotate images, uploaded to your gallery before you installed this MOD.
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.
New in v.1.4
• NetPBM support in both text and image embedding mode.
• Media type check (applies annotation only on jpeg images); no ‘gif’ errors anymore. [/b]
New in v.1.31
• You can choose the annotation method now: text annotation or embedded PNG image (logo, text, etc.). Image embedding (hopefully) works with ImageMagick even if GD library is not installed on your server. CP annotation settings are now separated from the Gallery Settings. Simplified MOD installation.
New in v.1.2
• Misc. corrections (read 4images forum), code cleanup. Problem with *nix"rename" solved (hopefully".
• Now checking if annotation text would fit image width, skipping if not.
• Now you can use variables in the "annotation text" setting, which will be automatically replaced during annotation:
%N for Site Name , %H for full Site URL (http://www.mysite.com), %U for short Site URL (www.mysite.com)
%S for User Name (image uploader name), %D for current date, %T for current time, %B to insert line break into annotation text.
[EDIT by V@no]
there is a bug in annotate.php so, either use single quotes around the variables above (i.e. '%N' or '%T') or do these changes: http://www.4homepages.de/forum/index.php?topic=13719.msg68084#msg68084
[/EDIT][/i]
New in v.1.1
• Now you can customize both text and shadow colors and set alpha blending (text transparency) value for your annotation (thanks to V@no). Transparency using GD2 only!
Installation Level: Easy
Installation Time: 10 Minutes
Files To Edit: 3
/4images/member.php
/4images/admin/settings.php
/4images/lang/english/admin.php
Before installing this MOD! (only if you going to use it in "text annotation mode")
Run this small code below (dont' forget to adjust font path). If you see black square with white text, than your system meets all neccessary requirements.
<?php
header ("Content-type: image/png");
$im = imagecreate (180, 30);
$black = imagecolorallocate ($im, 0, 0, 0);
$white = imagecolorallocate ($im, 255, 255, 255);
imagettftext ($im, 14, 0, 10, 21, $white, "/home/public_html/arial.ttf", "GD Freetype test");
imagepng ($im);
imagedestroy ($im);
?>
download: http://www.4homepages.de/forum/index.php?action=dlattach;topic=13719.0;attach=4186
If you get error when run batch_annotate.php
Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in admin/plugins/batch_annotate.php on line 8
Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.') in admin/plugins/batch_annotate.php on line 8
Then open batch_annotate.php
Find:
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
Replace it with:
$root_path = "./../../";
The attached package already fixed.
-
Where can i see a demo of this MOD
-
try here:
http://come.no-ip.com/categories.php?cat_id=78
-
Cyrillic users only:
To be able to write annotations in Russian, add this function at the beginning of annotate.php
function CyrText($aTxt) {
$isostring = convert_cyr_string($aTxt, "w", "i");
for ($i=0; $i < strlen($isostring); $i++){
$thischar=substr($isostring,$i,1);
$charcode=ord($thischar);
$uniline.=($charcode>175) ? "&#" . (1040+($charcode-176)). ";" : $thischar;
}
return $uniline;
}
and after both lines: $ann_text = $config['annotation_text'];
add: $ann_text = CyrText($ann_text);
-
Fatal error: imagecolorresolvealpha(): requires GD 2.0 or later in /homepages/7/d13364081/htdocs/4images/admin/plugins/batch_annotate.php on line 52
I can only use GD 1.62 - is there a way to use this script with 1.62?
Thx
Robert
-
I can only use GD 1.62 - is there a way to use this script with 1.62?
I can't check myself, but I don't think it will work... there's at least 3 functions used, which are from GD2. Anyway, I wouldn't recommend using this MOD with GD1 due to the miserable quality of resulting images. It's probably acceptable with thumbnails, but not with fullsize images.
-
I've got GD 2.0 with FreeType Support enabled (I can see this in phpinfo) but if I try test the server with the small code it doesn't work. I don't know if the problem is with font path: I've uploaded arial.ttf to the server and put the font path according this.... am I doing something bad?
-
make sure u did this:
http://www.4homepages.de/forum/viewtopic.php?t=4053&highlight=define+gd2
-
But that is for use GD in order to make thumbails, I've use GD for thumbails and it works fine in the server but the small code doesn't work. :?
-
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
-
Yes I do that.
But I don't try to install the mod yet, I want to be sure that it will work, and for this reason I used the small test code to test the server, but this doesn't work. Will work the MOD?
-
ah now I understud what do u mean by "small code".
well, it might be because your GD doesnt support Freetype. did u check the links SLL provided?
-
Hmmm.... I thought that only GD2 with FreeType support was necessary but checking the links I see that a patch for GD is necessary too :(
Sorry for my questions without read well before :oops:
-
Hmmm.... I thought that only GD2 with FreeType support was necessary but checking the links I see that a patch for GD is necessary too :(
This patch is not a "must", but with patched GD image quality is much better
-
I think the code that inserts in /member.php should be inserted BEFORE
if (!$uploaderror) {
not after if (create_thumbnail($src, $dest, $quality, $dimension, $resize_type)) {
$new_thumb_name = $new_name;
because Annotation wont work if auto thumbnail not enabled in the settings.
-
I got this message when I try to Direct upload a image file.. any ideas? thanks in advance. (the path is corrected)
Fatal error: Call to undefined function: imagettfbbox() in /home/popmtv/public_html/anson/gallery/includes/annotate.php on line 36
-
Fatal error: Call to undefined function: imagettfbbox() in /home/popmtv/public_html/anson/gallery/includes/annotate.php on line 36
it seems that GD on your host doest support FreeType.
run this script to find it out<?php
phpinfo();
?>
look for GD information.
-
I will post next version soon, which could be used to embed images, like logos or manualy prepared image with some text. I hope this will help for those who do not have freetype support.
-
I ran the file, and this is the result: I copied GD section from it:
By the way what is the default path for GD ? thx
gd
GD Support enabled
GD Version bundled (2.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
-
strange... should be working fine. read remarks there http://www.php.net/manual/en/function.imagettfbbox.php
-
1.you said
Files To Edit: 4
## /4images/member.php
## /4images/admin/settings.php
## /4images/lang/english/admin.php
## /lang/english/main.php
But you did not say anything about /lang/english/main.php?!!
2.I have ImageMagick, can I use your Plugin? I did install it on 4images, there is no error message but it's not working.
3.I have GD but old version, how can I use the code for check my GD version? Should I put it on an HTML file or? Where is /home/public_html/arial.ttf , have I arial.ttf by defult?
is this path correct?
/home/virtual/site7/fst/var/www/html/4images/annotate.ttf
Thanks in advance
Feri
-
But you did not say anything about /lang/english/main.php?!!
That's a mistake... nothing to add/edit in main.php... just ignore
2.I have ImageMagick, can I use your Plugin? I did install it on 4images, there is no error message but it's not working.
This MOD is deactivated by default. Check settings in admin panel
3.I have GD but old version, how can I use the code for check my GD version? Should I put it on an HTML file or?
in php file, of course
Where is /home/public_html/arial.ttf , have I arial.ttf by defult?
Font path doesn's matter. Just make sure you set correct path and filename for this font in config
-
1.Thanks, I did try to run Plugin from control panel, and Got this message:
Processing image leo3 from category تهران, image ID 10 >>
Warning: Rename failed (No such file or directory) in /home/virtual/site7/fst/var/www/html/4images/admin/plugins/batch_annotate.php on line 105
what should I do?
2.How should I change this: "This MOD is deactivated by default. Check settings in admin panel. You meane just chose ImageMagick? (I did and for example to make thumblain it works).
3.I did the test http://www.rasaneh.info/4images/test.php and I saw the black area and GD FREE TYPE Test on it. But when I chose GD, get this error: requires GD 2.0 or later.
-
My New error, the imaged has been uploaded, however there is no Watermark on it. Errro message on top of the page stated as below:
Warning: Could not find/open font in /home/popmtv/public_html/anson/gallery/includes/annotate.php on line 36
Warning: rename() failed (No such file or directory) in /home/popmtv/public_html/anson/gallery/includes/annotate.php on line 65
My Lien 36 looks like this $isz= @getimagesize($ann_src);
My 65 Lines looks like this: $ann_font_path -fill $ann_fill_color -pointsize $ann_font_size -draw
Any help will be really appreciated, thanks!
-
HI!
I´ve used 4images for a week and I´m quite pleased with it, though I have had some minor difficulties :( with Safe Mode.
I also installed annotation-mod which I find very useful. However I keep getting this weird 8O error message every time I try to upload new images to my server and I was hoping to get it fuction...
I have Image Magic installed on my server (which confuses me a little because also Safe Mode is on) and when I tried the little script you mentioned, everything worked fine. First I tried to upload photos from my admin contol panel but watermark just didn´t show up. I also tried uploading with member.php, which gave me this weird error message:
Warning: SAFE MODE Restriction in effect. The script whose uid is 2230 is not allowed to access /*/4image/data/thumbnails/5 owned by uid 99 in /*/4image/includes/image_utils.php on line 141
Warning: SAFE MODE Restriction in effect. The script whose uid is 2230 is not allowed to access/*/4image/data/thumbnails/5 owned by uid 99 in /*/4image/includes/image_utils.php on line 91
Warning: Could not find/open font in /*/4image/includes/annotate.php on line 36
Warning: rename() failed (No such file or directory) in /*/4image/includes/annotate
Does anyone have any idea what I´m doing wrong? And please write in english because I can´t understand a hick of germany... :lol:
-
HI!
I´ve used 4images for a week and I´m quite pleased with it, though I have had some minor difficulties :( with Safe Mode.
I also installed annotation-mod which I find very useful. However I keep getting this weird 8O error message every time I try to upload new images to my server and I was hoping to get it fuction...
I have Image Magic installed on my server (which confuses me a little because also Safe Mode is on) and when I tried the little script you mentioned, everything worked fine. First I tried to upload photos from my admin contol panel but watermark just didn´t show up. I also tried uploading with member.php, which gave me this weird error message:
Warning: SAFE MODE Restriction in effect. The script whose uid is 2230 is not allowed to access /*/4image/data/thumbnails/5 owned by uid 99 in /*/4image/includes/image_utils.php on line 141
Warning: SAFE MODE Restriction in effect. The script whose uid is 2230 is not allowed to access/*/4image/data/thumbnails/5 owned by uid 99 in /*/4image/includes/image_utils.php on line 91
Warning: Could not find/open font in /*/4image/includes/annotate.php on line 36
Warning: rename() failed (No such file or directory) in /*/4image/includes/annotate
Does anyone have any idea what I´m doing wrong? And please write in english because I can´t understand a hick of germany... :lol:
To off safe mode try this: http://forum.rackshack.net/showthread.php?s=c2d809cde1cdf723aa37bb4364118704&threadid=10244&highlight=safe+mode
-
..I don´t have root access to my server... :roll:
-
..I don´t have root access to my server... :roll:
... so ask your Hosting service! 8O
-
Unfortunatelly, for the moment I don't know any workaround for this :cry:
If you still willing to use this MOD, use GD2 as an image manupulation tool.
-
:cry: Well I guess I have to try with GD then. Thanks!
-
Before installing this MOD!
Run this small code below (dont' forget to adjust font path). If you see black square with white text, than your system meets all neccessary requirements.
<?php
header ("Content-type: image/png");
$im = imagecreate (180, 30);
$black = imagecolorallocate ($im, 0, 0, 0);
$white = imagecolorallocate ($im, 255, 255, 255);
imagettftext ($im, 14, 0, 10, 21, $white, "/home/public_html/arial.ttf", "GD Freetype test");
imagepng ($im);
imagedestroy ($im);
?>
Download MOD: http://www.dalnet.ru/files/4images_annotation_mod_1_1.zip
where can I get the "/home/public_html/arial.ttf", from? I cannot see it
-
you can use any ttf font, just set path and filename for it
-
Sorry can I check ..
Processing image AAAA from category SgCarLink Picture of the Week, image ID 10 >>
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/virtual/site178/fst/var/www/html/4images/admin/plugins/batch_annotate.php on line 76
I cannot find the font directory.
-
How can I find my font directory ...
-
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/virtual/site178/fst/var/www/html/4images/includes/annotate.php on line 36
Warning: rename(./data/media/1/KCians1_3.jpg,./data/media/1/KCians1_3.jpg.shd) [function.rename]: No such file or directory in /home/virtual/site178/fst/var/www/html/4images/includes/annotate.php on line 65
Got this probelm .. I cannot find my font directory ... why is this so ... any easy way to see what is my path?
-
copy font you want to use into your 4images root and set this path in config
-
copy font you want to use into your 4images root and set this path in config
That was what I did .. but what path should I put inside .. sorry for asking so much question ... cannot seem to get it ... could you check it out for me the path name?
-
SSL this is the link to the PHP test file...
http://www.sgcarlink.com/test.php
do you think I can use your mod?
-
copy font you want to use into your 4images root and set this path in config
That was what I did .. but what path should I put inside .. sorry for asking so much question ... cannot seem to get it ... could you check it out for me the path name?
tradertt, this is not actualy mod's problem, I see u started few other topics about same problem.
lets keep MOD troubleshooting clean from general troubleshooting. :roll:
-
Vano .. did I ? I tot I was only asking in this thread ... sorry did not know that this was not a mod problem ... Where can I ask this problem in? :D
-
here are your recent posts:
http://4homepages.de/forum/viewtopic.php?t=4369
and
http://4homepages.de/forum/viewtopic.php?t=4370
yeah, all troubleshooting goes in Diskussionen & Troubleshooting forum ;)
-
here are your recent posts:
http://4homepages.de/forum/viewtopic.php?t=4369
and
http://4homepages.de/forum/viewtopic.php?t=4370
yeah, all troubleshooting goes in Diskussionen & Troubleshooting forum ;)
Thx man .. will go over there to post ... :D
-
Sorry but really had to post here
Processing image test from category SgCarLink Picture Highlights, image ID 29 >>
Warning: rename(./../../data/media/1/5.gif,./../../data/media/1/5.gif.shd) [function.rename]: No such file or directory in /home/virtual/site178/fst/var/www/html/4images/admin/plugins/batch_annotate.php on line 105
Processing image vxzcv from category SgCarLink Picture Highlights, image ID 30 >>
Warning: rename(./../../data/media/1/sgGirls005_2.jpg,./../../data/media/1/sgGirls005_2.jpg.shd) [function.rename]: No such file or directory in /home/virtual/site178/fst/var/www/html/4images/admin/plugins/batch_annotate.php on line 105
Processing image aacdascd from category SgCarLink Picture Highlights, image ID 31 >>
Warning: rename(./../../data/media/1/artsfest75_3.jpg,./../../data/media/1/artsfest75_3.jpg.shd) [function.rename]: No such file or directory in /home/virtual/site178/fst/var/www/html/4images/admin/plugins/batch_annotate.php on line 105
Processing image So today from category SgCarLink Picture Highlights, image ID 32 >>
Warning: rename(./../../data/media/1/fd5.jpg,./../../data/media/1/fd5.jpg.shd) [function.rename]: No such file or directory in /home/virtual/site178/fst/var/www/html/4images/admin/plugins/batch_annotate.php on line 105
Processing image sfdgsf from category SgCarLink Picture Highlights, image ID 33 >>
Warning: rename(./../../data/media/1/guides_2.jpg,./../../data/media/1/guides_2.jpg.shd) [function.rename]: No such file or directory in /home/virtual/site178/fst/var/www/html/4images/admin/plugins/batch_annotate.php on line 105
Processing image Devborah from category SgCarLink Picture Highlights, image ID 34 >>
Warning: rename(./../../data/media/1/deborah.jpg,./../../data/media/1/deborah.jpg.shd) [function.rename]: No such file or directory in /home/virtual/site178/fst/var/www/html/4images/admin/plugins/batch_annotate.php on line 105
what went wrong? ANyone could advice. I hope this is a mod question :D
-
Before publishing this mod, I was asking people here to test it on *nix systems, but unfortunatelly got to response, niether negative, nor positive. What you can be sure is that this mod running without any problems on at least 2 galleries - V@no and mine, but both of us running on Windows. So, I'd be happy to help you, but I just can't...
tradertt also asked to explain what's all these errors about... that's pretty simple. When you enable shadows in this mod, this is done in two passes: first you draw you text with shadow color, and second pass draws the same text with foregroung color and with an offset of 1px. So, this error saying that system is not able to rename *.shd file, which appears after first pass, probably it was never created for some reason :roll:
-
Thank you for that reply. So there is no work around for it at the moment issit? Are you working on another version that might be compatible with *nix? Hope that is the case but anyway GREAT WORK.
-
Before publishing this mod, I was asking people here to test it on *nix systems, but unfortunatelly got to response, niether negative, nor positive. What you can be sure is that this mod running without any problems on at least 2 galleries - V@no and mine, but both of us running on Windows. So, I'd be happy to help you, but I just can't...
tradertt also asked to explain what's all these errors about... that's pretty simple. When you enable shadows in this mod, this is done in two passes: first you draw you text with shadow color, and second pass draws the same text with foregroung color and with an offset of 1px. So, this error saying that system is not able to rename *.shd file, which appears after first pass, probably it was never created for some reason :roll:
Do you think it will work if I do not enable shadows?
-
Do you think it will work if I do not enable shadows?
Why don't you just try??? As I said, on Windows it works with shadows, or without shadows... with IM, with GD2...
Since I have no chance to try it on unix, the only thing we can do is to wait when somebody, smarter than me, find out what was the reason for this error
-
Oops I am so sorry lolz .. cause I do not know anything about coding ... forgot you were on Window so cannot try it out on *nix :D sorry about that .. will feedback when I tried
-
I tried it without shadows and there is NO error .. but there is no watermark either ... any idea why ? :D
-
I tried it without shadows and there is NO error .. but there is no watermark either ... any idea why ? :D
No error = good sign!
no watermakr either = ouh well... :wink: j/k
but when u enable shadows, it doesnt give u error, that .ttf file can not be found?
-
I tried it without shadows and there is NO error .. but there is no watermark either ... any idea why ? :D
No error = good sign!
no watermakr either = ouh well... :wink: j/k
but when u enable shadows, it doesnt give u error, that .ttf file can not be found?
lolz :twisted: :twisted:
When I enable shadows, it does give me error
Processing image test from category SgCarLink Picture Highlights, image ID 29 >>
Warning: rename(./../../data/media/1/5.gif,./../../data/media/1/5.gif.shd) [function.rename]: No such file or directory in /home/virtual/site178/fst/var/www/html/4images/admin/plugins/batch_annotate.php on line 105
.... I do not know what happen :D I should think I set the correct path to my .ttf file.
-
ok, now I fixed the first error I had, now this is the only error left
Warning: rename() failed (No such file or directory) in /home/***/public_html/***/gallery/includes/annotate.php on line 65
note: I put *** Instead of the path name. the path is corrected.
Thanks if any one could help .[/quote]
-
It seems rename function is really OS-dependant... *nix users can try to replace it with someting like this:
$unixrename = `mv $ann_dest $file_shd 2>&1`;
if ( empty( $unixrename ) )
{
//ok
} else
{
//error
}
Sorry, can't check it myself :cry:
-
Lolz... SLL even if it does not rename it seems that it does not annotate for me :D wonder where went wrong..
TO ALL:
Anyone on *nix systems that is using this mod? Please just let me know if yours is working or not ... or is it just my system :D
I don't mind having no letter shadows ... just want my watermark to go on !! lolz :D
-
It seems rename function is really OS-dependant... *nix users can try to replace it with someting like this:
Code:
$unixrename = `mv $ann_dest $file_shd 2>&1`;
if ( empty( $unixrename ) )
{
//ok
} else
{
//error
}
Sorry, can't check it myself
Thanks SLL, but where do I add this code too, sorry if it's a stupid question :oops:
-
Thanks SLL, but where do I add this code too, sorry if it's a stupid question :oops:
in /includes/annotate.php
instead of rename($ann_dest, $file_shd);
-
WORKING!!!!!!!!!!
THANK YOU!! :P :lol: :o :D :wink:
-
great, it's working on my own site. however on my other site.. same exactly setting. the server had GD 2.0 with freetype. and I got the following erros:
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/***/public_html/gallery/includes/annotate.php on line 109
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/***/public_html/gallery/includes/annotate.php on line 138
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/***/public_html/gallery/includes/annotate.php on line 139
thank you again!
-
make sure u entered correct path to your .ttf font file in the settings.
-
Anotherone WORKING!!!!!!!!!!
THANK YOU!! :P :lol: :o :D :wink:
one problem left now
http://www.4homepages.de/forum/viewtopic.php?t=2660&highlight=
-
Anotherone WORKING!!!!!!!!!!
THANK YOU!! :P :lol: :o :D :wink:
one problem left now
http://www.4homepages.de/forum/viewtopic.php?t=2660&highlight=
Are you using *nix server?
-
Yes, I'm using *nix server linux redhat
-
Why .. why does my not work ... do you think you could send me your annotation modded files?
wetrade2002@yahoo.com
-
check your PM, good luck
-
check your PM, good luck
Thx for that ... Tried it but still does not annotate :(
Almost giving up on watermarking my pictures ... wonder what is the big problem with it :( Check and check and check but to no avail ... With you using *nix it shows that *nix users should not have a problem ..
-
What is the Error message?? If you dont' see error message.
MAKE SURE your turn Auto-create thumbnail ON in the ADMIN setting
It won't work unless you have the Auto Thumbnail on.
Well V@no did some coding changed it..
-
Yupz man its on .. thanks for getting me to check .. there is no error message ... everything went smoothly ... but just no water mark...
Use auto images annotation on image upload Yes
Annotation font
Specify full path and font filename
/home/virtual/*/var/www/html/4images/annotate.ttf
Annotation font size 16
Annotation text fill color #FFFFFF
Annotation text shadow color #000000
Use letter shadows Yes
Shadow offset (same right and down) 1
Resulting image quality (in per cent) 80
Vertical annotation message alignment Image Bottom
Horizontal annotation message alignment Right Image Edge
Top annotation message offset 5
Bottom annotation message offset 5
Left annotation message offset 5
Right annotation message offset 5
Processing image TEST from category * Picture Highlights, image ID 52 >>
Finished!
This is for batch annotate
-
Does your image have a WHITE Back ground? you set the Font as WHITE.. WHIT FONT ON WHITE BACKGROUND =
see what I mean.??
change your font color, hehe.. this is my current thought. :roll:
well,, check your PM again, just send you other CODEs
Good luck!
-
also, try to set vertical/horisontal position to top/left.
I had different and not very nice results on Apache2
but on Apache1 everything works just as it should...
-
Thx uny for this note:
there is missing an option for vertical align => middle
also, I'd change horisontal align from "middle" to "center" so, it would be same in HTML ;)
here is little changes u'll need to do:
in lang/<yourlanguage>/admin.php
in the come u added, locate two arrays:$annotation_v_positioning_optionlist = array(
"top" => "image top",
"bottom" => "image bottom"
);
$annotation_h_positioning_optionlist = array(
"left" => "left image edge",
"middle" => "image middle",
"right" => "right image edge"
);
Replace it with:$annotation_v_positioning_optionlist = array(
"top" => "image top",
"middle" => "image middle",
"bottom" => "image bottom"
);
$annotation_h_positioning_optionlist = array(
"left" => "left image edge",
"center" => "image center",
"right" => "right image edge"
);
and in /includes/annotate.php find: case "middle" : $h_offset = (($isz[0]/2) - ($ann_text_width/2)); break;
Replace with: case "center" : $h_offset = (($isz[0]/2) - ($ann_text_width/2)); break;
then, add this code: case "middle" : $v_offset = (($isz[1]/2) - ($ann_text_height/2)); break;
after this: case "top" : $v_offset = $ann_text_height + $ann_top_offset; break;
[EDITED]
seems it might be confused, so, here is how peace of code in annotate.php should looks like:switch ($horisontal) {
case "left" : $h_offset = $ann_left_offset; break;
case "center" : $h_offset = (($isz[0]/2) - ($ann_text_width/2)); break;
case "right" : $h_offset = ($isz[0] - $ann_text_width - $ann_right_offset - $ann_font_size); break;
// case "right" : $h_offset = ($isz[0] - $ann_text_width - $ann_right_offset); break;
}
switch ($vertical) {
case "top" : $v_offset = $ann_text_height + $ann_top_offset; break;
case "middle" : $v_offset = (($isz[1]/2) - ($ann_text_height/2)); break;
case "bottom" : $v_offset = $isz[1] - ($ann_text_height/2) - $ann_bottom_offset; break;
}
P.S. case "right" might be different then in the original code, that's the reason I didnt post whole code at the begining.
-
Does your image have a WHITE Back ground? you set the Font as WHITE.. WHIT FONT ON WHITE BACKGROUND =
see what I mean.??
change your font color, hehe.. this is my current thought. :roll:
well,, check your PM again, just send you other CODEs
Good luck!
The code got cut off halfway ... guess PM cannot be too long :D
-
all rite, check your e-mail.
Does your image have a WHITE Back ground? you set the Font as WHITE.. WHIT FONT ON WHITE BACKGROUND =
see what I mean.??
change your font color, hehe.. this is my current thought. :roll:
well,, check your PM again, just send you other CODEs
Good luck!
The code got cut off halfway ... guess PM cannot be too long :D
-
Nope still not working .. never mind .. I wonder if it is my host .. but I do not know what to tell them ... :(
-
V@no, just want you know that the vertical align => middle Watermark position is working now, dont' know why it didnt' work before. I didn't change anything...
1 problem left,
http://www.4homepages.de/forum/viewtopic.php?t=2660
thx :lol:
-
there is missing an option for vertical align => middle
Just wondering if somebody gonna place annotation text in the center of the image :D
-
there is missing an option for vertical align => middle
Just wondering if somebody gonna place annotation text in the center of the image :D
yeah, I've seen some, where watermark symbol "(C)" with font size 120 in the middle of image....
-
Hi I installed this mod and then removed it. When a user tried to upload a image they get:
Fatal error: Call to undefined function: imagecreatefromgif() in /***/***/****/includes/image_utils.php on line 71
What is happening ?
Thanks
Steve
-
Hi I installed this mod and then removed it. When a user tried to upload a image they get:
Fatal error: Call to undefined function: imagecreatefromgif() in /***/***/****/includes/image_utils.php on line 71
What is happening ?
Thanks
Steve
If u are using GD2, than that's the problem, because GD2 does not support .gif format
-
1. Installed
2. Changes for Linux/unix users
3. Swtiched ON for Auto Thumbnail
4. Test works Perfect (http://bonjovi.pl/galeria/anno.php)
5. no chcnages made for aligment
6. NOT WORKING!
7. Checked all path etc.
8. When I go to betch, OSLT, and get a category, blablabla, and click OK i said that is OK, but nothing happened...
9. turned OF shadows, for security ;)
10. What can I do?
-
1. Installed
2. Changes for Linux/unix users
3. Swtiched ON for Auto Thumbnail
4. Test works Perfect (http://bonjovi.pl/galeria/anno.php)
5. no chcnages made for aligment
6. NOT WORKING!
7. Checked all path etc.
8. When I go to betch, OSLT, and get a category, blablabla, and click OK i said that is OK, but nothing happened...
9. turned OF shadows, for security ;)
10. What can I do?
Can go suck thumb and stand at one side lor :twisted: hehe
I also cannot use :D nothing comes out too for me :P
-
LOL
-
hello,
i have installed the mod, and i have a small problem:
1. i upload new picture
2. check new picture
3. batch annotate
this message i see
Processing image 29742P1 from category testmodule, image ID 3545 >> Processing image 29742P2 from category testmodule, image ID 3546 >> Processing image 29821P2 from category testmodule, image ID 3547 >>
finished
after this i check the pictures but i can´t see the watermark?
what is wrong?
Where can i change the text from the watermark?
-
after this i check the pictures but i can´t see the watermark?
does it work when you upload the image as a regular user?
-
i always upload the pictures with ftp, is that not possible?
-
i always upload the pictures with ftp, is that not possible?
only with batch annotate then.. you're providing not enough information to understand what's wrong with your installation
-
Workin'! HEHE. I am so stupid... Wrogn category and picture ID selection...
-
which more information you need?
-
Seems many people are having problems, but it worked right out of the box for me. Just make sure that apache is the owner and group for the data directory so php can write files there - if you don't do this, you're screwed and no amount of hacking will get you anywhere. Also make sure safe mode is off.
Seeing all the "I don't have root access" to the box *tells* me no of you guys have the ownership of the data directory set to apache. So you're completely screwed for life until you call your provider and ask that they change it.
-
Also, make sure the GD lib is compiled into PHP (ask your provider). Then, AND THIS IS VERY VERY IMPORTANT, you need to have PC TTF fonts. If you are a Mac user and simply copied true type fronts from your Mac (because they do end in ttf also) then NOTHING will happen. You won't see squat. I'm a Mac OSX user, so I know.
So, I got this working as a Mac user on a Linux box within a few hours. I suspect that if no one else can, it's because JUST ONE of these factors not set properly will render a blank image.
So to recap:
1- apache must be owner of data directory (and chmod'd to 777 or 755)
2- safe mode OFF
3- GD lib MUST be installed, specifically, GD v2.0.1 with freetype linkage
4- PC TTF fonts. NOTHING ELSE
Again, if just one of these things is not set up properly, the images will never get annotated.
-
SLL
/home/virtual/site178/fst/var/www/html/4images/arial.ttf
arial.ttf ASCII or Binary
copy font you want to use into your 4images root and set this path in config ????? in config
<?
$db_servertype = "mysql";
$db_host = "localhost";
$db_name = "*****";
$db_user = "****";
$db_password = "*****";
$table_prefix = "4images_";
define('4IMAGES_ACTIVE', 1);
?>
whereabout ??? please
-
/home/virtual/site178/fst/var/www/html/4images/arial.ttf
arial.ttf ASCII or Binary
Binary.
copy font you want to use into your 4images root and set this path in config ?????
no, in AdminControlPanel -> Settings. U should find new options for Annotion at the bottom of the Settings.
-
1- apache must be owner of data directory (and chmod'd to 777 or 755)
I believe, this is by default, otherwise 4images won't work at all?
And one more remark (from php.net):
fontfile: The name of the TrueType font file. (Can also be an URL.) Depending on which version of the GD library that PHP is using, it may attempt to search for files that do not begin with a leading '/' by appending '.ttf' to the filename and searching along a library-defined font path.
-
No problem . with that Not Working ?? :cry:
-
directory chmod 777
and
file chmod 755
OR
Not chmod
-
WORKING ............ 8)
THANK YOU!!
-
hello,
i tried to run the MOD and all i have, are some problems, maybe you can help me??!!
i studied this 7 sites about 3 times, but i didn't found the solution for my special probs!! :-(
in control panel/settings i only can see the right columns of the annotation settings, the descriptions (left) are not visible -- i checked all code of the edited files, but i cant find the reason.
any tips for me ???
are there any files, of your sites, i can try to use ??
please send these files with email to this adress: yogen@gmx.de
maybe this could be the solution !!
thnx for your help !!!
Yogen
-
probably you've forgotten to run installer, so your database is not modifyed yet. also, if you're using lanuage files other than english, check if you've added all neccessary lines there
-
hmmm, no , i did all you wrote in the description ... but, i edited and uploaded all files BEFORE i run the installer ;-))
may, this is the problem ??
which new fields must i find in the DB, if all is correct installed ?
thx for help !!
Yogen
-
in control panel/settings i only can see the right columns of the annotation settings, the descriptions (left) are not visible --
did u do this step of installation?:#
#-----[ OPEN ]----------------------------------------
#
/4images/lang/english/admin.php
#
#-----[ FIND ]----------------------------------------
#
$setting['display_whosonline'] = "Display \"Who's Online\". Only visible for admins when deactivated.";
$setting['highlight_admin'] = "Display admins bold in \"Who's online\" ";
#
#-----[ AFTER ADD ]------------------------------------
#
/*-- Setting-Group 8 --*/
$setting_group[8]="Images Annotation settings";
$setting['annotation_use'] = "Use auto images annotation on image upload";
$setting['annotation_font'] = "Annotation font<br /><span class=\"smalltext\">Specify full path and font filename</span>";
$setting['annotation_font_size'] = "Annotation font size";
$setting['annotation_use_shadow'] = "Use letter shadows";
$setting['annotation_shadow_offset'] = "Shadow offset (same right and down)";
$setting['annotation_image_quality'] = "Resulting image quality (in per cent)";
$setting['annotation_text'] = "Annotation message";
$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>";
$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>";
$setting['annotation_fill_alpha'] = "Fill color alpha blending (transparency)<br /><span class=\"smalltext\">Alpha blending value must be between 0.0 and 1.0 0.0 = no transparency</span>";
$setting['annotation_shadow_alpha'] = "Shadow color alpha blending (transparency)<br /><span class=\"smalltext\">Alpha blending value must be between 0.0 and 1.0 0.0 = no transparency</span>";
$setting['annotation_v_alignment'] = "Vertical annotation message alignment";
$setting['annotation_h_alignment'] = "Horizontal annotation message alignment";
$annotation_v_positioning_optionlist = array(
"top" => "image top",
"bottom" => "image bottom"
);
$annotation_h_positioning_optionlist = array(
"left" => "left image edge",
"middle" => "image middle",
"right" => "right image edge"
);
$setting['annotation_top_offset'] = "Top annotation message offset";
$setting['annotation_bottom_offset'] = "Bottom annotation message offset";
$setting['annotation_left_offset'] = "Left annotation message offset";
$setting['annotation_right_offset'] = "Right annotation message offset";
-
yes, i did, but in: /4images/lang/deutsch/admin.php
and the admin fields are there, but only the right side of them.
can it be possible that the installing after loading up the edited files is the reason ?
i uploaded the files many times to be sure that no error in accepting the changes is possible.
should i do the hole steps again ??
which DB-fields are new if it all is correct ?
thnx for help ....!!!!!
Yogen
-
yes, i did, but in: /4images/lang/deutsch/admin.php
that's probably obvious, but to be sure:
is all your ACP shows in deutsch?
the installation file doesnt do more then just adding new fields into the database, it doesnt metter if u run it before or after.
Another question:
if u change something in those new options u got, and click save, do they actual save what u changed?
-
yes, all is in german, and the new fields (right side) of the annotation too!
i edited the annotate.TTF path, the TEXT wich should be placed in the pics, and all that can be saved.
and now ... ;-) ????
Yogen
-
i tried, after making a new DB-backup, a re-installation and got following error-messages:
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_use', '0')
Duplicate entry 'annotation_use' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_font', '/home/4images/annotate.ttf')
Duplicate entry 'annotation_font' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_font_size', '10')
Duplicate entry 'annotation_font_size' for key 1
.......
this seems that the fields must be already there !!
i run the batch annotate and got the errors that GD is not 2.0 !!!
this, i knew before, and i said it to my provider, that he will upgrade this !! --->> i'm awaiting the upgrade
but, if GD is not 2.0 -- nevertheless the fields in the CP must be shown, or is this the reason for the missing descriptions ??
greetz
Yogen
-
the problem is somewhere in the installation...
ok, here is another question:
did u install any other mods?
also, in /lang/deutsch/admin.php make sure there is no duplucation for /*-- Setting-Group 8 --*/
but actuly this is nothing to do with the problem...
-
hi V@no,
i installed another MOD, but this is only for the lightbox (quotation.php, ...) and has nothing to do with:
/*-- Setting-Group 8 --*/
my provider told me, that next week will be made an upgrade of PHP an GD on all servers. :-)
if you're right with installation probs, so it might be the best way to restore all back to original and then trying installation again ??!!
thnx for all help !! :-)
greetz
Yogen
-
if you're right with installation probs, so it might be the best way to restore all back to original and then trying installation again ??!!
this is good idea! ;)
-
ok, but, what do you think:
- first all files back to original or only database restoring ?
- completely and then new ... ?
NEW PROB:
now i can't create thumbs after upload with FTP :-(
yesterday, before installing the MOD, it was OK !!
is the mod influentially to the thumbs too ????
Erstelle Thumbnail für: bzl12 (bzl12.jpg) ....
Warning: imagecreatetruecolor(): requires GD 2.0 or later in /opt/root/home/baer-sportfotode/public_html/includes/image_utils.php on line 65
Warning: imagecopyresampled(): requires GD 2.0 or later in /opt/root/home/baer-sportfotode/public_html/includes/image_utils.php on line 73
Warning: imagejpeg(): supplied argument is not a valid Image resource in /opt/root/home/baer-sportfotode/public_html/includes/image_utils.php on line 79
Warning: imagedestroy(): supplied argument is not a valid Image resource in /opt/root/home/baer-sportfotode/public_html/includes/image_utils.php on line 81
Fehler beim Erstellen des Thumbnails!
greetz
Yogen
-
check out this:
http://www.4homepages.de/forum/viewtopic.php?p=16564#16564
since your host has not upgraded yet GD to GD2, make sure it set to 0
-
YES !!! :-)
it works again !!
thank you very much !!!
-
Cool stuff, just what I need.
However, I'd like to add a 'stamp' to each upload. I'm sure it's possible, but a quick Google search on how-to came up blank.
Basically, I'd like to place a GIF or Jpeg on each uploaded file in a specific corner. Anyone who could help me on this?
Thanks.
-
However, I'd like to add a 'stamp' to each upload.
that's exactly what this mod intended for. text annotation added automatically to each uploaded image. i was trying to make another mod, to ebmed images (like logo, etc.) but i haven't suceeded - problems with transparency and alpha blending.
-
I installed this just fine, and I was getting an error finding the font, but that appears to be fixed. Now the only error I get when running the batch is:
Processing image *** from category ***, image ID *** >>
Warning: rename() failed (No such file or directory) in /home/virtual/site11/fst/var/www/html/members/admin/plugins/batch_annotate.php on line 105
Plus it won't work for any new images. Any thoughts? I am using ImageMagick.
Thanks!
-
http://www.4homepages.de/forum/viewtopic.php?t=3808&postdays=0&postorder=asc&start=60
-
Sorry for my stupidity, but Im not understanding the instructions below. Run this script where? What file do I place it in? Do I need to create a file? What directory will it be placed in? Thank you.
Before installing this MOD!
Run this small code below (dont' forget to adjust font path). If you see black square with white text, than your system meets all neccessary requirements.
<?php
header ("Content-type: image/png");
$im = imagecreate (180, 30);
$black = imagecolorallocate ($im, 0, 0, 0);
$white = imagecolorallocate ($im, 255, 255, 255);
imagettftext ($im, 14, 0, 10, 21, $white, "/home/public_html/arial.ttf", "GD Freetype test");
imagepng ($im);
imagedestroy ($im);
?>
[/code]
-
if u ever see "run this script" - that means:
create a .php file with this code inside, upload it to your server and start it by pointing (i.e.http://yourdomain.com/name_of_the_file.php)
-
Thx V@no... Your always there ready for my lack of knoweledge questions.. Much appreciations..
Oh yea 1 more thing. The download, does it have all corrected info, or do I ned to check thru all the posts here and double check things?
-
all those replys are because everyone has server with about "unique" configuration, and this mod works fine on most systems but doesnt on few, so, if it doesnt work for u, then read the replys.
but I think the download should be with all fixed issues discused here. SLL should know better :D
-
Coo.. Ill get started on the install then. Thx again V@no
-
Ok just got done. I did the test script to make sure I have the requirements, I passed :)
So I installed this mod on the server. Followed all the instruction to a T. When I went to add the marl on a newly added photo, I get these errors:
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/includes/annotate.php on line 102
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/includes/annotate.php on line 131
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/includes/annotate.php on line 132
I then went to the already loaded images and ran the Batch Annotate and I got these errors:
Annotating between image ID 17 and 21:
Processing image C-West Civic's Interior from category Civic, image ID 21 >>
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/admin/plugins/batch_annotate.php on line 142
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/admin/plugins/batch_annotate.php on line 171
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/admin/plugins/batch_annotate.php on line 172
OK
Processing image C-West Civic's Interior from category Civic, image ID 20 >>
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/admin/plugins/batch_annotate.php on line 142
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/admin/plugins/batch_annotate.php on line 171
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/admin/plugins/batch_annotate.php on line 172
OK
Processing image C-West Civic's Front end from category Civic, image ID 18 >>
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/admin/plugins/batch_annotate.php on line 142
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/admin/plugins/batch_annotate.php on line 171
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/admin/plugins/batch_annotate.php on line 172
OK
Processing image C-West Civic's Front end from category Civic, image ID 19 >>
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/admin/plugins/batch_annotate.php on line 142
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/admin/plugins/batch_annotate.php on line 171
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/cwestciv/public_html/lifestylz/4images/admin/plugins/batch_annotate.php on line 172
OK
Finished!
There were others, but the page refreshes itself as it goes from 1 - 10, 11 - 20 so I couldnt get them.
Obviously its not reading the path, but I checked in my FTP and what it said it could not find, is actually there. Any possible checkes I can do? Thanks...
Oh and the tff file is in the 4images root.
-
where did u put .ttf file?
make sure u insert correct path to in the settings.
-
The settings to find the font are: /home/4images/annotate.ttf
The .ttf file is located within the 4images root.
-
Err ok there was a mistake, it shouldve looked like this : /home/lifestylz/4images/annotate.ttf but this still didnt correct the errors.
-
try to put it in 4images/ folder or /4images/includes/
and use this path to it:
./annotate.ttf
or
annotate.ttf
-
Thx for the help V@no... Im not used to having to write out the complete path even though I cant see it half the time. I was missing part of the path again and after I corrected it from my last post. I gotta see this is really a sweet mod. I wish I was this skilled...
Now for any fonts I wanna be able to write in, I want to add the font to the same directory as the annotate.ttf is currently in ( the 4images root )?
-
u can have the .ttf font where ever u want at your server, even outside of web folder, just make sure u entered the FULL correct path to it.
-
Hallo,
ich hoffe mir kann jemand auf Deutsch helfen ich habe zwar irgendwann mal english gehabt aber leider nicht da gewesen ;)
Also bei mir funzt eigentlich ALLES Super ausser das in den Bilder nix angezeigt wird der GD Test war auch erfolgreich im ACP kann ich auch alles einstellen aber bis her leider ohne Anzeige.
Hab bisher alle Pfade geprüft und auch den font in binär hochgeladen und auch die chmod ausprobiert (777 sowie 755)
könnte mir jemand Tips geben wie ich es dennoch zum laufen bekomme ?
Danke für Antwort
-
Hi,
aktiviere im Control-Panel die GD-Bibliothek. Hast warscheinlich ImageMagick aktiv, oder?
-
nee ich hab GD bin bei Puretec und hab die Gallery 1.7 und den Mod integration with IBF falls das hilft
-
here is the error im getting when running the "little script" before trying to install..
<br />
<b>Fatal error</b>: Call to undefined function: imagecreate() in <b>/home/mad/public_html/docs/test.php</b> on line <b>3</b><br />
How do I know where my ariail.ttf file is?
-
Ok, I don't understand this one.
When I run the test script to see if the MOD will work, I get this:
Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site143/fst/var/www/html/gdtest.php:2) in /home/virtual/site143/fst/var/www/html/gdtest.php on line 3
‰PNG
What I quoted isn't actually what iI see. There are about three lines of gibberish that the font of this forum can't display, but Arial can.
I'm on a Linux machine running PHP 4.3.0. Here is my GD info:
GD Support enabled
GD Version bundled (2.0 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled[/code]
-
How do I know where my ariail.ttf file is?
hi, your TTF-file can be where you want it to, you just have to define the correct path in the control panel.
expl:
arial.ttf in the root of your server the the past must look something like this:
/home/www/webxxx/html/ARIAL.TTF
in my case, the ARIAL.TTF must be written in capital letters, as you here can see!!
(i copied from windows fonts to server)
greetz
Yogen
-
How do I know where my ariail.ttf file is?
hi, your TTF-file can be where you want it to, you just have to define the correct path in the control panel.
expl:
arial.ttf in the root of your server the the past must look something like this:
/home/www/webxxx/html/ARIAL.TTF
in my case, the ARIAL.TTF must be written in capital letters, as you here can see!!
(i copied from windows fonts to server)
greetz
Yogen
So where do we get an arial.ttf file, and are we suppost to upload it then try?
-
So where do we get an arial.ttf file, and are we suppost to upload it then try?
ppl, why don't you think a little bit, before asking such questions? :roll:
you can use any windows true type font, not neccessarily arial.ttf
you can place it into any directory on your server, but you have to describe exact file location (full path), so script can find it
you do not have to type font filename in capitals, but since *nix systems are case sensitive, you have to specify font filename exactly the way it is on your server
and so on, and so..........
-
THX
läuft super :)
Danke eXup
-
ok so I'm still getting this error:
<br />
<b>Fatal error</b>: Call to undefined function: imagecreate() in <b>/home/mad/public_html/test.php</b> on line <b>3</b><br />
anyone know what this means?
-
anyone know what this means?
I'm afraid, that means your system doesn't have GD installed
-
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..
-
got it installed, when I go to admin controls I get this error
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:
$setting['annotation_right_offset'] = "Right annotation margin";
?
-
correction:
here is the error
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
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
?>
-
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
-
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?
-
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.
-
could I see someone elses lanuage file to compare to mine (someone with this mod)
anyone? thanks
-
*bumb*
(cant access my admin area)
-
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?
-
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.
-
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.
-
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.
-
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?
-
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.
-
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?
-
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:
-
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.
-
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
-
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?
-
you have to select each category and sub-category one by one
-
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
-
* 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
-
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 :)
-
I use both IM for .gif and GD2 for the rest. Just did little correction in the 4images code...
-
i use netpbm before,
but, can u show ur little correction pls hehe :) :o
-
in /includes/image_utils.php find two times:
$resize_handle = "resize_image_".$convert_options['convert_tool'];
replace both with: $resize_handle = "resize_image_".(($image_info[2] == 1) ? "im" : $convert_options['convert_tool']);
-
* 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
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...
-
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 (http://www.rime.com.au/gd/)
-
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 (http://www.rime.com.au/gd/)
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]
-
Ok. My server have ImageMagick, do not have GD.
So If I wish to run this annotation -water mark mod. I need GD right?
gif support has nothing to do with annotation mod. just read mod installation instructions:
## Requirements: GD2 Library compiled with Freetype support. Also works with ImageMagic,
## but GD still needed for some functions, which ImageMagic is missing.
-
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 (http://www.rime.com.au/gd/)
u forgot add one more "and":
and u know how to do compiling, programming in whatever language the patch writen.... :? :(
if anyone succeed, and can create a patch for GD2 that comes with PHP4.2.3 for windows, I'd really appretiate it! ;)
-
how to instal GD 2.0 on LINUX SERVER?
btw, i saw in v@no gallery, http://come.no-ip.com
there is like a link in uploadform template html
[ ]Add watermark
The text will be embeded in the bottom-right corner of the image
v@no, tell us how u did this hehe :)
-
there is like a link in uploadform template html
[ ]Add watermark
The text will be embeded in the bottom-right corner of the image
where?
it was not supposed to be for "any" categoryes...only owners of "Member Personal Category" can chose add or not the watermark when uploading in their categories...
where did u see it? 8O u are not registered, are u? :?
-
hello, im vidan
hahaha lol :P
is that only for MPC? oh ic
its very good if its for any categories
btw, Again, can u tell me the code haha :)
arigato
-
I've got the "Use auto images annotation on image upload" checked to yes, but everytime I upload an image its not working? Is this a bug or just a problem I'm having?
-
Is this a bug or just a problem I'm having?
I know 20+ galleries using this Mod... So, is it a bug or your problem? :lol: You're providing not enough information to help you...
-
Version 1.3 available for download.
New in v.1.3
• You can choose the annotation method now: text annotation or embedded PNG image (logo, text, etc.). Image embedding (hopefully) works with ImageMagick even if GD library is not installed on your server.
I'd appreciate if this MOD users send to sll@dalnet.ru translation to your languages (including English/German text corrections, if any), so I could include it into MOD package.
-
Hi, the MOD is great, but I have one little problem, I'm using NetPBM for making thumbnails, because the quality with GD is too bad.
Now my question: Is it possible to use NetPBM for making thumbnails and GD for annotations?
Thanks for help
-
Now my question: Is it possible to use NetPBM for making thumbnails and GD for annotations?
No. Since this mod processing the whole image (not only thumb), then with GD your image gonna be the same poor quality, as thumbs.
If smbd teach me, how to run NetPBM on win machine - I could try to use it for annotation...
-
what a good mod! but I have tried many times, just nothing on the picture I upload.
the test.php scripts run susccesfully on my system, my system is: sun solaris8 + apache2.0.43 + gd2.0.12(with freetype support) + php4.3.1(complied with gd support & freetype support) + imagemagick5.5.7.
I have no idea now, can u help me pls ?
-
did u anable it in the settings?
-
No. Since this mod processing the whole image (not only thumb), then with GD your image gonna be the same poor quality, as thumbs.
No, I've tested it. If I make thumbnails with GD they have poor quality, but if I only watermark the uploaded Image with GD, the quality is the same great quality as it is without watermark. Then I have to change manualy to NetPBM to make the thumbnails.
I upload all my Images with ftp. So I have to use every time the "Batch Annotate" to watermark my Pictures.
Now my question again: Is it possible to use NetPBM as standart setting in 4images and only change the options in the "Batch Annotate - Script" to use GD :?:
-
did u anable it in the settings?
yes, I set it enable.
I select "embedding image" for Annotation, it seems good, a gd-png image appear on the picture I upload. but when I select "text" for Annotation, just nothing on the picture I upload. the system would have someting problem ?
-
No, I've tested it. If I make thumbnails with GD they have poor quality, but if I only watermark the uploaded Image with GD, the quality is the same great quality as it is without watermark.
If you're satisfied with GD image quality, than you don't have to use NetPBM at all. Go /includes/constants.php and set:
// 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);
-
I select "embedding image" for Annotation, it seems good, a gd-png image appear on the picture I upload. but when I select "text" for Annotation, just nothing on the picture I upload. the system would have someting problem ?
Probably you've set the wrong font path or filename
-
@SLL:
Thanks, now the quality is fine.
-
One thing you forgot to add.
lang/english/admin.php
Find:
$lang['nav_general_settings'] = "Settings";
Directly Below:
$lang['nav_ann_settings'] = "Annotation Settings";
lang/deustch/admin.php
Find:
$lang['nav_general_settings'] = "Einstellungen";
Directly Below Add:
$lang['nav_ann_settings'] = "Annotation Einstellungen";
Seeing as how Russian text doesn't like to show up, do the same in russian/admin.php
-
One thing you forgot to add.
:oops: fixed, thanks...
-
One thing you forgot to add.
:oops: fixed, thanks...
No problem. Took me a sec to realize that when the link would only show up as a small block with no text.
-
Took me a sec to realize that when the link would only show up as a small block with no text.
Lucky u...took me whole lot longer, because there didnt show up anything...:lol:
-
Lucky u...took me whole lot longer, because there didnt show up anything...:lol:
Well, when I saw a white space between Settings and Templates, and the cursor changed to a hand......I was like...(http://www.gamers-forums.com/smilies/cwm/3dlil/eek13.gif).
Then I realized that the link in settings didn't work, so it just clicked after that.
Otherwise, an awesome mod if I can ever figure out the path to ImageMagick :mrgreen:
-
Hello,
i am trying to install your script but i got one problem :
everything works on my server, even if i click on Batch Annotate it does something :
Annotating between image ID 0 and 2:
Processing image fgh from category gfh, image ID 1 >> Skipped
Processing image cv from category gfh, image ID 2 >> Skipped
Finished!
[Back]
BUT *g* : if i click in the german version on einstellungen, there is the point Bild Annotation Einstellungen]
but if i click on it, nothing comes up.
then i scroll down to the end, but the last setting is : Administratoren im Modul "Wer ist online" fett dargestellt werden
i know that i put the code corectly in,...
can u help me ?
-
I just tried to install this plug in, and I failed miserably. Im not sure whats wrong though. I put up the GD test script that was posted, and I got this:
http://www.planetboredom.net/pix/gd_test.php
Does that mean GD2 isn't installed? I know that GD is installed ont he server, I just don't know which version.
Also, I used NETPBM to make thumbnails, and after I set up this plug in, NetPBM option dissapeared from the settings page. Does GD have to be selected in settings in order for this script to work?
ALso, whenever I upload an image, I get this error.
Warning: Missing argument 5 for create_thumbnail() in /home/yegor/public_html/pix/includes/image_utils.php on line 138
Fatal error: Call to undefined function: imagettfbbox() in /home/yegor/public_html/pix/includes/annotate.php on line 78
If I change it to image (annotation), the last line is replaced with
Fatal error: Call to undefined function: imagegif() in /home/yegor/public_html/pix/includes/image_utils.php on line 79
if I upload a Jpeg I get an XML error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Only one top level element is allowed in an XML document. Line 2, Position 2
<b>Warning</b>: Missing argument 5 for create_thumbnail() in <b>/home/yegor/public_html/pix/includes/image_utils.php</b> on line <b>138</b><br />
-^
What is going on?
-
When install this plugin on my "normal" completely functioning server (w2k + 4images running ok) I get the following error.
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
Where did I go wrong? Doesn't the plug pickup the normal pathsetting or ...?
Piet
-
When install this plugin on my "normal" completely functioning server (w2k + 4images running ok) I get the following error.
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
Where did I go wrong? Doesn't the plug pickup the normal pathsetting or ...?
Piet
maybe u need set righ permissions?
-
what about my problem? SOMEONE HELP!
-
what about my problem? SOMEONE HELP!
seems your host either didnt install GD2 or GD2 installed without True font support.
-
what about my problem? SOMEONE HELP!
test script says If you see black square with white text, than your system meets all neccessary requirements.
i'm pretty sure you haven't seen any text or box, so why you've installed this md?? i'd suggest you to restore 4images bakup files.
-
Ok I figured something out, im retarded and I accidently uplaoded the edited files from 1.6.1 instead of 1.7
I got the image watermark to work, but text still isn't working.
Fatal error: Call to undefined function: imagettfbbox() in /home/yegor/public_html/pix/includes/annotate.php on line 78
I presume that means that Free typeisn't installed.
No matter, as long as image works, Im happy! 1 more thing, in order for this to work, GD has to be selected in the control panel. 10% of the image I upload are gifs, and therefore won't upload since GD isn't compatible. NetPBM, which I use works with both. When I slect netpbm, the annotations controls dissapear, and it no longer adds a watermark. Is it possible to amke it so it works even though GD isn't selected in the control panel?
-
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
-
come on... somebody help me fix batch annotations.
-
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:
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
to
$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
-
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?
-
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.
-
Thanks SSL. I did it and I've found many errors :cry:
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
-
i have the same problem. I DO have GD2. when I upload it works, when I do batch, it doesn't.
-
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:)
<?php
header ("Content-type: image/png");
$im = imagecreate (180, 30);
$black = imagecolorallocate ($im, 0, 0, 0);
$white = imagecolorallocate ($im, 255, 255, 255);
imagettftext ($im, 14, 0, 10, 21, $white, "/home/public_html/arial.ttf", "GD Freetype test");
imagepng ($im);
imagedestroy ($im);
?>
-
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.
-
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
-
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
-
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.
-
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
-
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?
-
hmm... actualy this mod doesn't touch thumbs at all... seems you're using GD, so go /includes/constants.php and check
// 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);
-
nu da, ya izmenil constants.php y zabil y pashol spit . :D
udache vam s etoi modom.
vladagariu y spasibo vam bolishoye SLL.
-
SSL, pomogi mne s moei problemai. Vsio rabotaet, krome batch annotate. Kod odnakovi, ia ne mogu ponia pochemu ono rabotat v odnom meste, no ne rabotaet v drugom.
-
here we have some strange php bug, which doesn't work properly with files and directories (like rename function, for ex.)
unfortunatelly, you can see it on *nix systems only, but i'm running win server, so it's a problem for me to trace this bug in the mod. i will try to fix it next week on *nix machine
-
edit: path-problem solved
new problem: ;)
I use ImageMagick and the skript works fine, the batchprocess runs and there are no error messages. I include a small logo as .png-file in the lower right corner of the image - but nothing happens! there is no logo! is there maybe a problem with the png-file?? i exported it with photoshop 7...
thx&gree,
NeoNuss
-
here we have some strange php bug, which doesn't work properly with files and directories (like rename function, for ex.)
unfortunatelly, you can see it on *nix systems only, but i'm running win server, so it's a problem for me to trace this bug in the mod. i will try to fix it next week on *nix machine
ohh please do! I need to batch annotate like 400 images.
-
hi again!
i did some tests to find out what the problem could be - imagemagick is working fine when resizing pictures and even when I use the demo-png there is no change in the pictures, even though there are no error-messages!
please help! :(
thx&gree,
NeoNuss
P.S.: Is there anybody using *nix server without GD2 but with ImageMagick who got this mod working (not with text, only a png-file)??
-
ohh please do! I need to batch annotate like 400 images.
it seems i've found out what was the reason... you have to specify the whole path to the embedded image, like /users/htdocs/4images/logo.png
at least, this is working on the freebsd system...
-
I select "embedding image" for Annotation, it seems good, a gd-png image appear on the picture I upload. but when I select "text" for Annotation, just nothing on the picture I upload. the system would have someting problem ?
Probably you've set the wrong font path or filename
ok ! I can use this great mod now, I recomplied my php-4.3.2 with the build-in gd support. my system is solaris8 + apache4.0.45 + php-4.3.2
-
ohh please do! I need to batch annotate like 400 images.
it seems i've found out what was the reason... you have to specify the whole path to the embedded image, like /users/htdocs/4images/logo.png
at least, this is working on the freebsd system...
I will try this once DNS changes kick in.
*crosses fingers*
-
in /includes/image_utils.php find two times:
$resize_handle = "resize_image_".$convert_options['convert_tool'];
replace both with: $resize_handle = "resize_image_".(($image_info[2] == 1) ? "im" : $convert_options['convert_tool']);
Did anyone get this fix working without those annoying errors that pop up when you upload a gif? The fix works, and works well. Gifs are done with netpbm/IM and jpgs are annotated with GD. The only problem is these errors that pop up. I tried it with netpbm and IM and I always got these exact errors. Is theer a way to disable the annotate script when uploading a gif??:
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 31
Warning: imagecolorresolvealpha(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 32
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 31
Warning: imagecolorresolvealpha(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 32
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 168
Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 169
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 170
-
Did anyone get this fix working without those annoying errors that pop up when you upload a gif?
new mod version (with netpbm support) will be published in a few days, i'll include this "gif" fix into it
-
I install this MOD. but not work.
My system is FreeBSD+PHP 4.3.2+Apache 1.3.27+ImageMagick 5.5.6
I try debug annotate.php.
find
if (!$use_shadow) {
$command = $convert_options['convert_path']." -quality ".$ann_image_quality." -antialias -density 90 -font $ann_font_path -fill $ann_fill_color -pointsize $ann_font_size -draw \"text $h_offset,$v_offset '$ann_text'\" \"$ann_src\" \"$ann_dest\"";
system($command);
}
replace
if (!$use_shadow) {
$command = $convert_options['convert_path']." -quality ".$ann_image_quality." -antialias -density 90 -font $ann_font_path -fill $ann_fill_color -pointsize $ann_font_size -draw \"text $h_offset,$v_offset '$ann_text'\" \"$ann_src\" \"$ann_dest\"";
system($command);
echo $command;
exit;
}
I try upload image. It show
/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill #BFBFBF -pointsize 10 -draw "text 5,16 'http://phpbb.mychat.to'" "./data/media/7/DSCN0628.JPG.bak" "./data/media/7/DSCN0628.JPG"
but I look not create ./data/media/7/DSCN0628.JPG
I look Apache error_log have error message.
/usr/local/bin/convert: Missing an image filename.
I telnet server in 4images root and command
/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill #BFBFBF -pointsize 10 -draw "text 5,16 'http://phpbb.mychat.to'" "./data/media/7/DSCN0628.JPG.bak" "./data/media/7/DSCN0628.JPG"
the DSCN0628.JPG is create.
please help me....
I try this MOD one week. but always not work..
-
/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill #BFBFBF -pointsize 10 -draw "text 5,16 'http://phpbb.mychat.to'" "./data/media/7/DSCN0628.JPG.bak" "./data/media/7/DSCN0628.JPG"
at this step check if DSCN0628.JPG.bak was realy created
-
Thx answer.
yes. DSCN0628.JPG.bak created.
so I telnet server in 4images root run
/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill #BFBFBF -pointsize 10 -draw "text 5,16 'http://phpbb.mychat.to'" "./data/media/7/DSCN0628.JPG.bak" "./data/media/7/DSCN0628.JPG"
is OK.
but use system() is not work.
-
Did anyone get this fix working without those annoying errors that pop up when you upload a gif?
new mod version (with netpbm support) will be published in a few days, i'll include this "gif" fix into it
will there be an upgrade? or do u have to revert to "original files" before you install?
-
I am working...
I try step to step.
$s ="/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill #BFBFBF -pointsize 14 -draw \"text 5,22 'http://phpbb.mychat.to'\" \"./data/media/7/DSCN0658.JPG.bak\" \"./data/media/7/DSCN0658.JPG\"";
system($s);
not work. so I try
$s ="/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF \"./data/media/7/DSCN0658.JPG.bak\" \"./data/media/7/DSCN0658.JPG\"";
system($s);
It's work. so I try
$s ="/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill #BFBFBF \"./data/media/7/DSCN0658.JPG.bak\" \"./data/media/7/DSCN0658.JPG\"";
system($s);
It's no work. so I try
$s ="/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill \"#BFBFBF\" \"./data/media/7/DSCN0658.JPG.bak\" \"./data/media/7/DSCN0658.JPG\"";
system($s);
It's work.. so I try
$s ="/usr/local/bin/convert -quality 80 -antialias -density 90 -font /home/mychat/htdocs/4images/BGTR00BU.TTF -fill \"#BFBFBF\" -pointsize 14 -draw \"text 5,22 'http://phpbb.mychat.to'\" \"./data/media/7/DSCN0658.JPG.bak\" \"./data/media/7/DSCN0658.JPG\"";
system($s);
It's ok. so I modify annotate.php and batch_annotate.php
find
-fill $ann_shadow_color
replace
-fill \"$ann_shadow_color\"
but I have new problem now.
My text is chinese charset. if I use Chinese text. not show Chinese.
only use english now.
-
but I have new problem now.
My text is chinese charset. if I use Chinese text. not show Chinese.
only use english now.
I belive for this u'll need upload your own font with Chinese support.
-
I belive for this u'll need upload your own font with Chinese support.
i'm not sure this will help. this is the way image magick handles charsets... for example, i haven't managed writing cyrillic text with im too :cry:
-
will there be an upgrade? or do u have to revert to "original files" before you install?
yes, you do.
-
so... any volunteers to test new mod version before publishing? :wink:
mostly netpbm users on *nix machine needed...
-
Hi !
hm i have a question ... is it necessary to test this program "in the web" ... i have only checked it on my localhost and i got "Could not find/open font" because i´m not sure where i have to put tahoma.ttf ...
my structure looks like this ...
http://localhost/gallery/admin ....
which place is important for the font ? ... an which path i write in the box in admin center ?
year and when i upload one image i geht this error "Warning: Could not find/open font in C:\wampp2039\htdocs\gallery\includes\annotate.php on line 78" ... this is clear the fontpart is wrong ... but what is wrong can you help me PLZ :)
sorry for my bad english :roll:
-
which place is important for the font ?
it doesn't matter where you put it, just specify full path and filename CP
-
which place is important for the font ?
it doesn't matter where you put it, just specify full path and filename CP
but i get an error ... i have written "c:\wampp2039\htdocs\gallery\tahoma.tff" in my box ... i have already checked it without .tff ...
note i check this offline on my localhost is this the problem ?
-
but i get an error ... i have written "c:\wampp2039\htdocs\gallery\tahoma.tff" in my box ... i have already checked it without .tff ...
note i check this offline on my localhost is this the problem ?
maybe you'd try tahoma.ttf then? :wink:
and for sure localhost is not a problem at all...
-
Version 1.4 just posted (look first message in this thread). Now with NetPBM support + some minor changes, corrections and code cleanup.
-
Ok, I just installed it.
V@no's fix stopped giving me any errors, so tahts good.
NetPBM isn't working, when I select it, and uplaod a JPG, all I get is a broken image. It creates a thumbnail, but the image appears broken.
Gifs are not annotated, but work.
If I leave it as GD2, everything works good, jpgs are annotated, and Gifs are thumbnailed using Netpbm (thanks to V@no's fix). No errors pop up.
Without the fix, it doesn't work, gifs cause it to display an error.
Something weird happened when I moved servers. The Embedded image opacity no longer works. No matter what I set it to, its all 100% here is the GD info.
GD Support enabled
GD Version bundled (2.0.12 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
Any ideas?
-
NetPBM isn't working, when I select it, and uplaod a JPG, all I get is a broken image. It creates a thumbnail, but the image appears broken.
in order to run this mod with netpbm the whole package have to be installed, or at least the following parts have to be in the netpbm path:
jpegtopnm
pbmtext
pngtopnm
pnmcomp
pnmtojpeg
ppmchange
ppmcolormask
then, you need x-window bdf fonts (not true type!). and finally, you have to specify netpbm path like this: /usr/local/netpbm/ (just path, no binaries!), and finally, /4images/data/media/ should be set "write all" if not set yet
-
I have all those parts installed.
I don't use text annotation, I use image.
-
I don't use text annotation, I use image.
it doesn't matter, they're all still used (except pbmtext)
try the following: temporarily remove all "-quiet" from comman lines, just to see if some error message genereted. if it will not help - put echo $command; after each system($command); line and check
-
Correction, I just asked my ISP, some components ARE missing:
pnmcomp
pnmtojpeg
ppmchange
ppmcolormask
They are gonn set that up ASAP. Ill leave feedback once they do.
Everything else seems to work flawlessly! Good job!
A weird problem that I noticed before I even upgraded (after I moved servers) is that Embedded image opacity no longer worked. This is not related to the new version, its something on the server. ANy ideas?
-
First of all THX SLL ... year i was so crazy to write tff +g+ ...
but i still geht this error
"Warning: Could not find/open font in C:\wampp2039\htdocs\gallery\includes\annotate.php on line 78"
i put in in tahoma.ttf then i put in tahoma with out ttf but i always get the same error as below ... :roll: :( +g+
-
try
/wampp2039/htdocs/gallery/tahoma.tff
(without drive letter)
-
nono :D
i checked this examples ...
/wampp2039/htdocs/gallery/tahoma.tff
/wampp2039/htdocs/gallery/tahoma.ttf
/wampp2039/htdocs/gallery/tahoma
\wampp2039\htdocs\gallery\tahoma.tff
\wampp2039\htdocs\gallery\tahoma.ttf
\wampp2039\htdocs\gallery\tahoma
and nothing of this were ok ... so now it´s time to go to bed +g+ ... tomorow i will check this mod online =)
-
so i checked it online. when i want to batch the image with an font i get this error at each image :)
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /www/htdocs/hmhmhm/admin/plugins/batch_annotate.php on line 51
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /www/htdocs/hmhmhm/admin/plugins/batch_annotate.php on line 51
Warning: imagettftext(): supplied argument is not a valid Image resource in /www/htdocs/hmhmhm/admin/plugins/batch_annotate.php on line 195
Warning: imagejpeg(): supplied argument is not a valid Image resource in /www/htdocs/hmhmhm/admin/plugins/batch_annotate.php on line 196
Warning: imagedestroy(): supplied argument is not a valid Image resource in /www/htdocs/hmhmhm/admin/plugins/batch_annotate.php on line 197
and i also get errormessages when i want to batch it with an image =)
online i didn´t get the errormessage with the font error :)
-
most probably your php was compiled without freetype support
-
most probably your php was compiled without freetype support
so i have to talk to the hoster ? :roll:
-
first of all run this file on your server and read output (gd module capabilities)
<?php
phpinfo();
phpinfo(INFO_MODULES);
?>
-
look -> http://gallery.xtase.net/phpinfo.php
GD features are ...
GD Support -enabled
GD Version - bundled (2.0 compatible)
FreeType Support - enabled
FreeType Linkage - with freetype
T1Lib Support - enabled
GIF Read Support - enabled
JPG Support - enabled
PNG Support - enabled
WBMP Support - enabled
:roll:
-
FreeType Support - enabled
FreeType Linkage - with freetype
then it's just a matter of settings. check again.. check path, check name, check case, check if this is windows ttf font.....
-
hi all,
I use ImageMagick and the skript works fine, the batchprocess runs and there are no error messages. I include a small logo as .png-file in the lower right corner of the image - but nothing happens! there is no logo! ...
the same with me...
all i want is to annotate with an image.
there is no gd2, but i understood this mod to be working only with imagemagick in this case (using linux-server)...?
-
there is no gd2, but i understood this mod to be working only with imagemagick in this case (using linux-server)...?
yes, it works this way.... at least on my system :lol:
the problem is that here, in this forum, we can see only problems. if mod is running fine, nobody cares writing positive reply :wink:
for the moment this mod has been downloaded more by than 500 users. even if just one third of them had installed it, do you believe that all of them didn't work?
-
...do you believe that all of them didn't work?
why should i assume this??
maybe there is a misunderstanding. i was not really sure whether it should work (-> only using an image to annotate) without gd or not.
the good news: it should work :lol:
the bad news: it doesn´t work :cry: (on my linux system with two versions of IM in the repertory: 4.2.9 and 5.4.7)
if mod is running fine, nobody cares writing positive reply
any such replys are very welcome :wink:
@ Neonuss: have you solved your problem in the meantime?
-
the bad news: it doesn´t work :cry: (on my linux system with two versions of IM in the repertory: 4.2.9 and 5.4.7)
the best and easiest way to debug such problems (when no error message generated but script just doesn't work) is to put echo $comand; before or after system($command); then try to run exactly the same command line as you see from unix shell, from the same directory where php script is located.
-
many thanx for your express answer! :wink:
unfortunately, i´m not able to do this by myself, because i´m only a photographer...
but i will find someone to check this for me.
-
Hi I use a Mod for check new images made by V@no call check for new images(i guess) and I get an error when y check the option of the wattermark I get this error
Warning: imagesx(): supplied argument is not a valid Image resource in /home/ascanio/domains/chicas-msn.tk/public_html/girls/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/ascanio/domains/chicas-msn.tk/public_html/girls/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/ascanio/domains/chicas-msn.tk/public_html/girls/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/ascanio/domains/chicas-msn.tk/public_html/girls/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/ascanio/domains/chicas-msn.tk/public_html/girls/includes/annotate.php on line 186
Working on data/media/49/cathy.jpg file:
Added annotation in data/media/49/cathy.jpg file.
Created thumbnail.
Imagen agregada: cathy
-
Hi there,
the Image Annotation Mod is working fine with Text-Annotation for me (no errors occur).
However, after switching to Watermark-Annotation I get this error code when I want to "Batch Annotate":
Annotating between image ID 0 and 5:
Processing image Motto from category Bilder, image ID 1 >>
Warning: imagesx(): supplied argument is not a valid Image resource in \4images\includes\annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in \4images\includes\annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in \4images\includes\annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in \4images\includes\annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in \4images\includes\annotate.php on line 186
OK
...
The .png files have been copied in the correct root-folder of "4images".
And now I am not quite sure what my problem is. And I didn't find any helpfull lines in here according to the mentioned line numbers, except the last post from "ascanio". :oops:
Maybee someone else knows what the problem is? :)
-
Hi I use a Mod for check new images made by V@no call check for new images(i guess) and I get an error when y check the option of the wattermark I get this error
Hi all, i am also trying to use V@no's new image check and am getting the same errors, i noticed in the features for the image check annotate v2 was supported, after looking around the site i can find no other referance to v2. can anyone help?
thanks, soasuk
-
is there is any way to get it work with the old images in galleries ? which were added before I install this mod ?
-
Does anyone know where can I find the "v2 of the annotation mod". I can't seem to find it anywhere in this message board as well google cache but people are using referaces of that mod in many posting. Thanks.
-
Nice piece of code. Thx for sharing! :)
Here are some nice fonts for this plugin - http://www.webpagepublicity.com/free-fonts-s.html#FreeFonts
-
is it working with
ImageMagick-5.5.7-Q8
sincerly
vincent
-
I get this erro just when I select the watermark option :?
(http://members.cox.net/jaime/check.jpg)
-
can this be done on the fly, just for images in details? and only for unregistered users?
-
yes it can be done, but your server administrator might not like it ;) (will hit on server perfomance)
-
is it working with
ImageMagick-5.5.7-Q8
sincerly
vincent
-
hallo, habe mal ne Frage, habe das Watermark Mod eingebaut http://www.4homepages.de/forum/index.php?topic=3808.0
Habe nur ein kleines Problem damit, es funktioniert nur, wenn registrierte User ein Bild uploaden. Wenn ich aber als Admin über das Controllpanel ein Bild uploade, wird leider kein Watermark gesetzt. Ist es irgendwie möglich das zu ändern, müsste den Mod nämlich so haben, dass egal wer uploaded generell das Watermark gesetzt wird.
Meine zweite frage:
Warum wird wenn ich bei den Einstellungen einstelle, dass automatisch Tumbnails erzeugt werden sollen, das ebenfalls nur bei Reg Users gemact und nicht bei Admins, über das Adminpanel.
Bitte schnelle Hilfe
-
hallo,
zumn ersten Problem würde ich diese änderung emnpfehlen.
http://www.4homepages.de/forum/index.php?topic=4754.0
Da kannst du beim Bilderchecken gleich angeben ob ein Watermark hinzugefügt werden soll doer nicht
-
hallo,
zumn ersten Problem würde ich diese änderung emnpfehlen.
http://www.4homepages.de/forum/index.php?topic=4754.0
Da kannst du beim Bilderchecken gleich angeben ob ein Watermark hinzugefügt werden soll doer nicht
Das ist aber nicht das was ich möchte. mit diesem zusätzlichen Einbau kann ich bilder meiner User überprüfen und das Watermark setzen, dass ist richtig, aber wenn ich selbst über die Adminebene Bilder uploade, funktioniert das nicht. mein Problem ist, dass ich bei dem Wasserzeichen ohnehin so eingestellt bin, das User beim Upload automatisch ein Wasserzeichen hinzugefügt bekommen, aber wie schaffe ich es, wenn ich als Admin selbst Bilder über die Adminpanel hinzufüge, dort ebenfalls ein Wasserzeichen zu setzen.
-
Hi.
A little problem, okay... big problem :)
This is my gd info:
==========================
GD Support enabled
GD Version bundled (2.0.28 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Annotating between image ID 2560 and 2569:
Processing image BaseBall from category Sportas, image ID 2560 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 186
OK
Processing image Geras pasas? from category Sportas, image ID 2562 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 186
OK
Processing image Trumpas stalas from category Sportas, image ID 2563 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 186
OK
Processing image Sumo from category Sportas, image ID 2564 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 186
OK
Processing image Lengvoji? atletika from category Sportas, image ID 2565 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 186
OK
Processing image ledo teisejai protingas? from category Sportas, image ID 2566 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 186
OK
Processing image Dar pakelt koja? from category Sportas, image ID 2567 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 186
OK
Processing image kulverstis from category Sportas, image ID 2568 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 186
OK
Why I get these errors when I`m using "Batch Annotate". Annotation works perfect when I uploading image...
-
try adding this code in the very begining of batch_annotate.php
<?php // PLUGIN_TITLE: Batch Annotate
import_request_variables("GPC");
extract($_SERVER);
-
same problem... :?
-
Great mod, thanks ... FINALLY it works with me too :mrgreen:
My problem was finding the "full path" to the font. The penny dropped when I got an error message when I tried to open one of the test php-files suggested here. I got the message couldn't open /homepages/46/d13438658/htdocs/test3.php on line 3
So I tried this path and it worked :D.
Before this I just put the link to the font www.domain.de/4images/arial.tff in the settings and had no luck.
Just thought I would post this just in case some other more inexperienced like me are trying this mod and do not see the annotation mark although anything else works fine. The problem most likely lies with the full path. Though I don't know where to find the full path unless you get an error message ... :?
-
Hallo,
das script funktioniert eigentlich prima, ausser wenn ich bilder über ftp hochlade und "Batch Annotate" starte kommt ständig
"Processing image 1 from category PSD-Templates, image ID 1220 >> Skipped"
-
Hallo, meine Frage ist immer noch nicht beantwortet worden.
Wenn ich als Admin über das Adminpanel Bilder hinzufüge, warum fügt er dann das Wasserzeichen nicht hinzu? oder wie muss ich es ändern?
-
So can someone help me...? Or just say what the problem is?
Processing image Paskutinė vakarienė... from category Nuotraukos, image ID 80 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/pramoga/public_html/includes/annotate.php on line 186
OK
-
habe ähnliches Problem wie benediktlangmantl (Seite zuvor).
mein system Win XP prof SP2 mit diesem Watermark MOD http://www.4homepages.de/forum/index.php?topic=3808.0
habe mod vollständig und korrekt installiert (bin mir zumindest keiner fehler bewußt und habe noch keine fehlermeldung erhalten!).
dennoch erhalte ich keine wasserzeichen, ob als text oder png bild (habe testbilder aus MOD verwendet). bin als admin eingeloggt und lade per ftp bilder hoch. Uploadfunktion für User wird nicht zwingend benötigt.
alles aktiviert gd2 auch vorhanden und eingestellt.
da ich schon einige bilder aufgespielt habe, würde ich gerne die batch funktion nutzen und ein Watermarkbild einbetten.
bei batch annotate befehl tut sich gar nichts. erhalte aber auch keine fehlermeldung. Browser lädt kurz und dann fertig.
für hilfe wäre ich sehr dankbar. falls nötig könnte ich den gallerielink nachreichen. danke
-
Hallo?
SSL kannst Du mir vielleicht helfen? Bin echt am verzweifeln. Bin Newbie und habe alles versucht. :(
Hier meinephpinfo Auszug bezgl. GD :
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
-
hello together!
i have installed the mod.
i have just installed nearly 200 pics and now i want to batch annotate.
but in acp i get only a white screen and no error messages.
it is loading just a second and after that it shows ready in status bar.
what have i done wrong?
please help me. :(
i don´t get any annotations. i want to implement a watermark pic.
i use 4images 1.7.1 and gd2 (u can see in the posting before)
-
first off - I'm running 1.7.1, linux, GD 2.0.12, using IM to create thumbs, etc. etc - -
this works great for text annotation, but I can't get image annotation to work - - - no worries, though -
I can actually help a bit for a few of the reoccuring problems (I printed out this thread - 67 pages! - and read it while sitting on the deck this afternoon!)
but in acp i get only a white screen and no error messages.
this is from V@no from another thread:
blank page? want to see the error messages?
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);
So can someone help me...? Or just say what the problem is?
did you create & run the test php file from the instructions? if not, download it from this post (see below for link) - I made it a php for you -
You'll need to edit this file a bit - here's how:
find
/home/public_html/arial.ttf
and change it to be the exact path and font name where your font - (the *.ttf file you want to write on your images with) - is stored. If you want to use Tahoma.ttf, for example, open Windows/FONTS on your system. locate tahoma.ttf and upload it to the root of your site - or wherever you want to store your fonts. This could be another folder called "fonts", for example. If you choose to use the default Arial.ttf, make sure it's uploaded to the folder you designate.
Open your site's control panel - you probably have one somewhere (I use cPanel) - and hunt around in all the menus and such for something that says "WWW directory" and/or "root directory" - this will show you what the path in this file (and in the ACP areas that need a path) should be. Mine, for example, is "/home/graf/public_html" - yours will be similar. If you can't find it there in your site's control panel, use the FTP address where you upload your files. If you can't find it there, ask your host what it is - even if you don't know what you're talking about, they'll know, so just copy down exactly what they tell you.
Once you have the root directory path (or "WWW directory" path - whatever your host calls it - ) paste it into the script above - and upload to your site's root. Run it - type into your browser "http://www.my_big_dotcom.com/image_tester.php" - - substitute your site URL for what I put in there (hopefully I didn't HAVE to type that last bit, but....)
Did you see something like this: graffi's font test for watermarking (http://digiart.graficalicus.com/font__test.php) ? I'm using a retro-style font set at 9 pts - white on a black BG in a 240px wide box.
If you did, the script works, your site works, everything is OK - you just have to debug what you did wrong in typing one of the paths in the annotation settings panel.
If you CAN'T see anything, or get an error message of some sort, you're probably out of luck with this MOD, assuming you got your paths right in the tester script - -
If you're testing this MOD in batch mode, be sure to be editing more than one image (trying it out on just one image at a time won't work, for some weird reason) and that uploading is turned ON - - otherwise, you'll get nothing.
If you'd like to change the transparency of TEXT annotation, I'll have a fix for that later -
hope this helps - - (http://www.graficalicus.com/images/graffiman/graffidude-mini.gif)
-
and another question - -
Quote from: ksk
there is like a link in uploadform template html
[ ]Add watermark
The text will be embeded in the bottom-right corner of the image
where?
it was not supposed to be for "any" categoryes...only owners of "Member Personal Category" can chose add or not the watermark when uploading in their categories...
so how would this be added as an upload option? :D
-
Ooops - - -
also 2 other small things:
- I can't find where to change the opacity of the text - image, yes, text, no - -
- the text annotation options (%N, %B, %S, etc.) don't seem to work - they actually print the code - %B %S %T.... instead of username, date, line break, etc. - - :?:
thanks one thousand times :!:
-
@graficalicus
thanks for the "new" test.
i ve made the image_tester.php test and it showed a black square with white "this is a test" text on it.
so i think everything has to work. doesn`t it?
after configuring the annotation settings in acp and logging in as admin i tried to direct upload an image.
and what a wonder. there is an text watermark implemented automatically. great :)
but if i adjust in the settings to implement an watermark image (logo-gd.png in root directory), so i cannot see anything after direct uploading :(
WHY???
And also the batch annotate function doesn´t work for me. what i´m doing wrong???
please help me i´m trying to find out for several days. cause i have already 200 pics online before installing the mod.
hope anyone could help me.
-
i ve made the image_tester.php test and it showed a black square with white "this is a test" text on it.
so i think everything has to work. doesn`t it?
:D it works!
but if i adjust in the settings to implement an watermark image (logo-gd.png in root directory), so i cannot see anything after direct uploading
WHY???
are you using IM for images in your ACP? I am, too, and I'm having the same problem - - something with the path I haven't figured out yet....
For now, if you need to annotate many images, text annotation is the way to go (at least until IM patch gets worked out - - I'm working on it, too.... :?)
And also the batch annotate function doesn´t work for me. what i´m doing wrong???
Batch was kind of weird to figure out, but here's what I did:
- in your ACP, under "Annotation Settings" - "Use auto images annotation on image upload" - turn ON
- Annotation mode: text
- Annotation text: type in what you want to appear (Shortcuts - "%D", "%S", etc. - aren't working yet with IM)
- the font path must be just like the test php file (copy & paste directly from that)
- make your other text settings, as well as positioning
- Click "Save changes" at the bottom
Next, go to Batch Annotations in the ACP -
- select the category you want to annotate first (you can only do one category at a time)
- Select how many images to do at a time (you MUST do more than 1 image at a time or nothing happens... :?)
- Input the image ID# to start with
- automatically continue to the next ones, or wait for a click from you? Choose Yes or No
- Click "Submit" at the bottom, and it should take off and watermark the images you told it to do
I'm still messing with some of the IM settings - I'll post more solutions as soon as I get something working, but it may be a few days.... :( hold tight....
Good Luck!
-
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
-
there's a path problem somewhere when using IM -I'm having the same problem, too -
I haven't been into the code yet, but take a look & noodle about with the path here (save a backup first!!):
includes/annotation.php:
if ($ann_tool == "im") {
if ($use_image) {
$command = $convert_options['convert_path']." -quality ".$ann_image_quality." -draw \"image CopyOpacity $h_offset,$v_offset 0,0 $ann_embed_image\" \"$ann_src\" \"$ann_dest\"";
system($command);
look at the "$ann_src\" - instead of making it a variable ($ann_src), try making it an absolute link (assuming your watermark image won't change - if your watermark image changes, you'll have to change this code again as well - - )
Just an idea -- it's what I'll try next......
-
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:
-
what error are u getting 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.
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:
-
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
-
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 -
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);
-
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.
-
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
-
anyways i have fixed it myself :) thanks for the reply.
-
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?
-
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
-
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....
-
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"?
-
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
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 ?? :? :?
-
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
-
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...
-
all works fine.
No errors, batch annotate works well.
But i can't get the watermark on the pic during upload.
I searched everything, but can't find the problem.
Anyone who is using this script who had the same problem or has an idea what the problem could be ?
thx !
-
perhaps u added code in member.php in the wrong place?
-
i checked twice, and the code is inserted correct.
But i can do the annotation with annotate function, so i'll have to do it like that.
----------------------------------------
What is very strange :
if i use "check for new images", i can use the auto resizer as an option ( there i can add annotation ), and the auto thumbnailer.
This works fine, but the size of the picture get bigger !
example :
i upload a picture with ftp.
and than i do "check for new images" : it finds that new picture.
I use the resize function - but i don't change the size - i use it to add the annotation.
and i use the auto thumbnailer.
All works fine, thumbnail is made, annotation is added,but the pic was 52 kb before, and now 151 kb !!
is this because of the annotation ? because of the adding of the text ?
-
All works fine, thumbnail is made, annotation is added,but the pic was 52 kb before, and now 151 kb !!
is this because of the annotation ? because of the adding of the text ?
sounds to me like u set quality to 100% in the settings...IMO 85% is the most optimal regarding quality+filesize
-
yes, i've put it to 100 %
i'll lower it.
thx for the tip !
-
skript doesn't work....
i installed the mod, and i get no errors, but there is nothing on the images. not via the admin bathc, either the normal uploadskript
PLEASE HELP!
-
will the watermark option work also on animated gifs?
greetings,
lapinkulta
-
will the watermark option work also on animated gifs?
try it!
i installed the mod, and i get no errors, but there is nothing on the images. not via the admin bathc, either the normal uploadskript
do this:
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);
and it will list the errors
-
After ISP change i got these errors:
Warning: main(./../admin/admin_global.php) [function.main]: failed to open stream: No such file or directory in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/admin/plugins/batch_annotate.php on line 8
Fatal error: main() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='./:/usr/share/pear/php5/') in /is/htdocs/wp1015398_0TDZ7CIHLH/www/galerie/admin/plugins/batch_annotate.php on line 8
What is wrong? I just have changed the ttf font path to the current directory.
Annotation works for direct upload.
but batch annotate does not work. i cannot go to the batch annotate menu in the acp.
-
change ROOT_PATH to "../../"
-
Great! v@no :D
Now it is working again. Thanks a lot. You re great
-
Is it somehow possible to get the Watermark into the Thumbnails too?
I tried to find out how to change/add some code but couldn't get it work. This would be a great help to me!
I rellay appreciate this great mod. It should get a part of the core!!
-
Is it somehow possible to get the Watermark into the Thumbnails too?
I tried to find out how to change/add some code but couldn't get it work. This would be a great help to me!
I rellay appreciate this great mod. It should get a part of the core!!
I already found a solution i can deal with. I installed the Mod 'Rebuild Thumbnails' and after I uploaded a pic I run Rebuild Thmumbsnails and all is ok :)
-
hallo,
habe folgendes problem.
wenn ich "Automatische Annotation-Funktion beim Upload" anmache dann habe ich bei bild und text jeweils fehler.
wenn ich bild auswähle und dann ein bild hochladen möchte passiert folgendes. nachdem ich auf abschicken geklickt habe geht es nach kurzer zeit zur member.php weiter (die seite ist weiß) und das wars, nichts tut sich. bild nicht oben.
wenn ich text auswähle dann habe ich folgende fehlermeldung stehen:
Warning: imagettfbbox(): Could not find/open font in /home/www/web1/html/mybbc/pics/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/www/web1/html/mybbc/pics/includes/annotate.php on line 192
Warning: imagettftext(): Could not find/open font in /home/www/web1/html/mybbc/pics/includes/annotate.php on line 193
bild ist oben aber ohne den text.
bin für hilfe dankbar!
-----------------------------------------------------
hello,
my english is bad.
if i acctivate the annotation i have probs.
if i choose picture by annotation i have this problem:
after click on "send" the browser goes to the "member.php" and nothing do. the picture is not uploaded.
if i choose text the picture can upload but without the text. i have warnings:
Warning: imagettfbbox(): Could not find/open font in /home/www/web1/html/mybbc/pics/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/www/web1/html/mybbc/pics/includes/annotate.php on line 192
Warning: imagettftext(): Could not find/open font in /home/www/web1/html/mybbc/pics/includes/annotate.php on line 193
thx 4 help!!
server infos (gd):
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
JPG Support enabled
WBMP Support enabled
-
Warning: imagettfbbox(): Could not find/open font in /home/www/web1/html/mybbc/pics/includes/annotate.php on line 95
-
das problem mit der textanzeige ist gelöst.
allerdings funtzt das mit dem bild noch nicht. nach klick auf "abschicken" kommt im browser die "member.php" seite und nichts tut sich.
-----------------------------------------------------------------------------
problem with text is solved.
the problem with picture exists.
-
this mod is fantastic !
is there is any way to use it with the old pictures in the gallery that were published before installing the mod ?
-
kann mir niemand helfen?
can´t nobody help me?
-
Also die Annote-Batch Funktion funktionier bei mir auch nicht, wurde schon eine Lösung gefunden???
Gruß Marquis
-
hallo
ich spräche Deutsch und Russisch---
ich habe eine frage zu den Läuten die diesen MOD gut kennen:
ist das möglich so zu machen das der User selber bei Upload entscheidet, ob er diese Wassezeichen haben will oder nicht?
ich werde auch danbar für eure Tips wie das geht oder ein Link were auch genügend ;)
-
Guten Tag
was genau bedeutet
For "image embedding" mode you don't need anything.
gruss
vincent
-
I had the mod working fine just a few moments ago. I've not changed any config yet now it's skipping all files when I try to batch annotate!!
Any idea why this is happening, and more to the point how I can stop it
-
ich habe imagemagick installiert und dieser mod funktioniert nur wenn ich das wasserzeichen mit einem bild einfüge.
text-wasserzeichen funktioniert nicht.was mache ich falsch? :cry:
-
Is there any support in here? :?
-
I've reainstalled the mod, checked the config and setting are correct, however it's still skipping all images in every collection.
Can somebody please tell me why this is happening and offer a possible solution. I cannot use this system unless the images are watermarked... Back to Coppermine perhaps?
-
Solution for one of the problems :mrgreen:
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
Change the path of the logo-gd.png in the ACP ==> "Annotation Settings", from "logo-gd.png" to "../logo-gd.png" than it should work, if you've the logo-gd.png file in the root directory.
Greez
-
Hello.
It works, only in part. It doesn't work automatically when uploading images. I have to do it manually, via Batch Annotate. The other problem (worse) is that I can't use the variables %S and %N . Instead of inserting the data (user name and site name), it just prints the string exactly like that... %S and %N. I enabled the detailed error messages of PHP (I'm just trying on my computer), and it says as "notice": $user_info isn't declared on line 72 file: /includes/annotate.php .
No error for line 71, ($ann_site_name = $config['site_name'];)
wich is the definition of the other variable that I'm using.
Anybody with the same problem?.
Best regards.
WR.
-
Well, I did try it again, and It works when uploading images, but still cannot make the variables work...
Any idea?.
Best regards.
WR.
-
Hello V@no
which path i have to add on my WindowsServer?
imagettftext ($im, 14, 0, 10, 21, $white, "/home/public_html/arial.ttf", "GD Freetype test");
the path www.foto-kocher.com/fonts/arial.ttf
or the windows path d:/ ......../ fonts/arial.ttf?
sincerly
vincent
-
Hello again people:
I did find my error (or may be script error?).
Look at the file includes/annotate.php of the mod, line 74...
$ann_vars = array ("'%D'", "'%T'", "'%N'", "'%H'", "'%U'", "'%S'", "'%B'");
Do you see something strange?. Yep... double AND simple quotes. So the array was being filled with the '%X' string (all the text between the double quotes) instead of being filled with the expected string (or at least what I was expecting).
So you have two options: using the variables inside the simple quotes on the options page of the annotate (in case that you will use %<any of the posible letters used> just as srting), or simply editing this line and remove the simple quotes, so it looks like this:
$ann_vars = array ("%D", "%T", "%N", "%H", "%U", "%S", "%B");
Thanks for this excellent mod, it is just what I need.
Best regards.
WR.
-
I want small watermark on my image on detail.html so I use font-size 10
I also want a watermark on my images in the 'big' folder. But there font-size 10 is so small that you nearly can not see it.
Is it possible to define a different font-size for the images in the 'big' folder?
Ich habe eine Wasserzeichen auf dem Bild der Detailseite in Schriftgröße 10. Das Wasserzeichen soll ja nicht zu groß sein :wink:
Bei Schriftgröße 10 wird das Wasserzeichen auf dem großen Bild im big Ordner bzw. Download-Ordern so klein, dass man es fast nicht sehen kann.
Gibt es die Möglichkeit das Ganze so zu programmieren, dass man die Schriftgröße für das Größe Bild extra angeben kann?
Matthias
-
Hello!
Perhaps somebody could help me.
I want to put a transparent watermark on my pics.
If i take the example pic of the mod installation directory (logo-gd =>File with the black background) everything works perfect for me.
I want to make my own PNG watermark. But it does not work for me.
I tried for hours to make a png watermark file which is working like the example file (with transparent background).
I am frustrated.
What i am doing wrong?
Which programs do you have used to create own watermark?
Is there something special to do?
i can´t get it.
Please help.
P.S. yes, i put black color for transparent in annotation setting and it is working with the example file but not for my own file.
-
Hallo bibabobu,
bei den Einstellungen im ACP und Annotation Einstellungen kannst du den Grad der Bildtransparenz bestimmen. Nennt sich dort "Eingebettete Bildnis Undurchsichtigkeit" :wink:
Wähle 100 wenn die Hintergrundfarbe verschwinden soll.
Natürlich musst du die Hintergrundfarbe ebenfalls angeben: weiß = #FFFFFF
viele Grüße
Matthias
-
I want small watermark on my image on detail.html so I use font-size 10
I also want a watermark on my images in the 'big' folder. But there font-size 10 is so small that you nearly can not see it.
Is it possible to define a different font-size for the images in the 'big' folder?
Is it possible only to watermark the image in the big/download folder and leave the resized image on detail.html blank?
Matthias
-
I tried for hours to make a png watermark file which is working like the example file (with transparent background).
As it's written in the installation note, GD can't handle "true" transparency. Instead you should use any solid color and then specify this color in the mod settings to be transparent. It can be black, white or whatever else. Just chose the right color :wink:
I was using Photoshop to create example images, but you can use any other software, I'm pretty sure that PNG are always the same.
-
Is it possible only to watermark the image in the big/download folder and leave the resized image on detail.html blank?
Theoretically - yes. But I've never seen this mod (big/small images), so I have no idea how to do it :wink:
-
Theoretically - yes. But I've never seen this mod (big/small images), so I have no idea how to do it :wink:
Hi SSL
its a combination of two mods:
1. [Mod] Show original image in new window by clicking on image
http://www.4homepages.de/forum/index.php?topic=3236.0
2. "Alternate directory for download files"
http://www.4homepages.de/forum/index.php?topic=7499.0
V@nos mod "Check new images in ALL categories v2.10.4" supports the big/small folder mod above.
http://www.4homepages.de/forum/index.php?topic=4754.0
I just need the option to watermark the big image an not watermark the resized image
Matthias
-
I guess you are using different directories then... Chose the path for the "big" images here:
if ($direct_upload) { $ann_src = MEDIA_PATH."/".$cat_id."/".$new_name; }
else { $ann_src = MEDIA_TEMP_PATH."/".$new_name; }
annotate_image($ann_src);
-
Hi SLL
the annotation of the big images works fine. So it's not a path problem.
At the moment both (big images and images on detail.html) are watermarked, when I check the box "watermark images"??
I just need one more checkbox in ACP where I can watermark the big images in the download-folder, but not the images in the category-folder.
Something like "Watermark only images in big folder"
I hope you understand my problem?
Matthias
-
Hi !
First of all I am absolutly newbie in things like php.
Until now i did install some mod´s and the work great.
But with this mod i´ve a little problem:
I do have all the menu entries in the control panel. But when i click on "Batch annotate" i got following errors:
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /var/www/html/4images/admin/plugins/batch_annotate.php on line 8
Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/4images/admin/plugins/batch_annotate.php on line 8
and here the "line 8" of "batch_annotate.php"
require(ROOT_PATH.'admin/admin_global.php');
Sorry for this newbie question, but i dont know what is to do now ??
lg
Martin
-
I've gone throught the whole thread and can't seem to find my issue.
I went thorugh the installation process and followed all instructions verbatim.
I am on Unix (php 4.39 and GD 2.028 - GD has png and jpg support enabled) and I want to annotate my images with the .png file.
In my annotation settings I have selected image as the mode and set the full path to my .png image "/home/userName/public_html/photos/image.png"
When I run the batch process I get no errors (Annotating between image ID 1070 and 1071: Finished!) But when I check the images there is not change.
When I do a direct upload I also get no change in my images. Auto Thumbnail is set to ON.
Any ideas what's going on?
Thanks in advance
-
Hi !
Annotation funktioniert bei mir wunderbar. Aber ich habe ein Problem das mit diesem Mod zusammenhängen dürfte.
Ich lade meine Bilder per FTP hoch und übernehme sie dann mit dem Mod "Neue Bilder checken".
Wenn ich nicht resize und kein Wasserzeichen hinzufüge werden die EXIF und IPTC Daten übernommen.
Wenn ich aber ein Wasserzeichen hinzufüge, sind keine Exif Daten mehr vorhanden.
Any ideas ???
Danke im Voraus !
mfG
Martin
-
When I do a direct upload I also get no change in my images. Auto Thumbnail is set to ON.
Any ideas what's going on?
make sure, in ACP under Annotation Settings, "Use auto images annotation on image upload" is set to "Yes" before batching - that should do it. It needs to be set to Yes even for batch annotation.
-
Ich habe stundenlang hier gesucht, alles gelesen, keine Lösung gefunden. Was will mir das sagen?
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /home/htdocs/web11/html/galerie/admin/plugins/batch_annotate.php on line 8
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /home/htdocs/web11/html/galerie/admin/plugins/batch_annotate.php on line 8
Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/usr/share/php') in /home/htdocs/web11/html/galerie/admin/plugins/batch_annotate.php on line 8
batch annotate funktioniert also ni8cht und ein Wasserzeichen bekomme ich auch überhaupt nicht hin. Schade. Vielleicht kann mir jemand helfen. Danke Momo
-
I got the same errors, do anyone found a solution? :?: :?: :?:
Hi !
First of all I am absolutly newbie in things like php.
Until now i did install some mod´s and the work great.
But with this mod i´ve a little problem:
I do have all the menu entries in the control panel. But when i click on "Batch annotate" i got following errors:
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /var/www/html/4images/admin/plugins/batch_annotate.php on line 8
Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/4images/admin/plugins/batch_annotate.php on line 8
and here the "line 8" of "batch_annotate.php"
require(ROOT_PATH.'admin/admin_global.php');
Sorry for this newbie question, but i dont know what is to do now ??
lg
Martin
-
I have Multiupload MOD also but since i install this i cannot get annotation on my imapges when i upload them through Multi Upload. is there way i could make it work so it also add anotation with Multi Upload MOD
now it gives me error
"Cannot redeclare ann_rename() (previously declared in ..../annotate.php:9) in ..../annotate.php on line 9"
-
In the Multiuploadmod you need to change all the added
require() -commands
to
require_once()
...and
include()
to
include_once()
Thats it
-
In the Multiuploadmod you need to change all the added
require() -commands
to
require_once()
...and
include()
to
include_once()
Thats it
Hey thanks.. but mm i tried members.php, annnotate.php, categories.php.. and didn't find that like :/
can you plz tell me in which file i should change them?
thank you
-
in the member.php
-
Hi
i keep getting this error
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /usr/home/levikay/public_html/gallery/admin/plugins/batch_annotate.php on line 8
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /usr/home/levikay/public_html/gallery/admin/plugins/batch_annotate.php on line 8
Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/levikay/public_html/gallery/admin/plugins/batch_annotate.php on line 8
can some one help me
also none of my PlugIns r working such as
Batch Annotate
Batch ZIP Import
Clear Cache
Postcard Viewer
i keep getting the same error
thanks guys
-
Annotating between image ID 196 and 196:
Processing image cartoon from category Cartoons, image ID 196 >>
Warning: imagettfbbox() expects parameter 1 to be double, string given in /home/msn/public_html/display-pictures/includes/annotate.php on line 95
Warning: imagettftext() expects parameter 2 to be double, string given in /home/msn/public_html/display-pictures/includes/annotate.php on line 192
Warning: imagettftext() expects parameter 2 to be double, string given in /home/msn/public_html/display-pictures/includes/annotate.php on line 193
I m getting this error while i m trying to setup a annotation mod...
Help me out...
-
1.st
great Mod from SSL!!!
everything is working fine with my installation, but there is a question for additional variables like "filename" or "imagename". I tried it for a while, but my php knowledge is too bad to fix this.
so any help is welcome!
best regards
viscum
-
Hi.. ich bräuchtee mal Hilfe... Hab den Mod installiert aber im Admin CP lassen sich unter den Annotation Einstellungen die änderungen nicht speichern.... wenn ich gespeichert hab und noch einmal darauf geh sind die einstellungen wieder weg... woran kann das liegen
Help.... if I do any changes for annotation, they will not be saved....
Can somebody help me....
-
Also ich habe mal den dummen Fehler gemacht und habe Netscape das Formular speichern lassen und wenn ich dann die Einstellungen aufgerufen habe war alles wieder wie vorher weil Netscape den Text der Textfelder einfach überschrieben hat. (o:
Ist dir das vielleicht auch passiert?
-
I,ve got a new problem...
if want to batch the pics it says the following error
Annotating between image ID 8 and 4963:
Processing image mini-CIMG3792 from category Meu's Geburtstag 10.10.2005, image ID 4963 >>
Warning: imagettfbbox(): Could not find/open font in /srv/www/htdocs/web36/html/promille/4images/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /srv/www/htdocs/web36/html/promille/4images/includes/annotate.php on line 192
Warning: imagettftext(): Could not find/open font in /srv/www/htdocs/web36/html/promille/4images/includes/annotate.php on line 193
OK
Finished!
If a User uploads a pic, theres no error and you can see the watermark...
Why not in Admin CP?
-
Hi !
Annotation funktioniert bei mir wunderbar. Aber ich habe ein Problem das mit diesem Mod zusammenhängen dürfte.
Ich lade meine Bilder per FTP hoch und übernehme sie dann mit dem Mod "Neue Bilder checken".
Wenn ich nicht resize und kein Wasserzeichen hinzufüge werden die EXIF und IPTC Daten übernommen.
Wenn ich aber ein Wasserzeichen hinzufüge, sind keine Exif Daten mehr vorhanden.
Any ideas ???
Danke im Voraus !
mfG
Martin
Ich hab das gleiche Problem kann jemand helfen?
I have the same problem as martin. If I use image annotation it deletes all exif and iptc data. Can someone help???
hugs Luna
-
Hi. I've read every pages of this topic and tried every possible soluccions, but I have the same problem.
When I upload pictures nothing happens, pictures are uploaded but without text watermark. But when I try to "Batch Annotate" i get these error's:
Processing image TESTE from category Abstracto, image ID 15 >>
Warning: imagettfbbox(): Could not find/open font in /home/aerotek/public_html/photos/includes/annotate.php on line 96
Warning: imagettftext(): Could not find/open font in /home/aerotek/public_html/photos/includes/annotate.php on line 193
Warning: imagettftext(): Could not find/open font in /home/aerotek/public_html/photos/includes/annotate.php on line 194
OK
I have tested the test.php file and all works fine.
It must be a problem with my verdana.ttf path.
I have this file here: http://www.aerotek.org/photos/verdana.php
Where http://www.aerotek.org/photos/ is the 4images gallery root.
In the annotate setup I have this full path and font filename: /home/public_html/photos/verdana.ttf
Please. Can anyone help me? I passed the last 4 hours trying to solve this problem without success.
-
i used to installeb by your commentas,but watermark [text] ,was not work ,please send me correct comment ,reason ,awaiting for youe valuable coment with tender heart
thank you
regards
sujith
-
Fatal error: Call to undefined function: imagettfbbox() in /home/sav2003/public_html/bambas/includes/annotate.php on line 95
I get this error when trying to upload images with text annotation mode...
Anyone can help??
-
your server did not meet the minimum requirements for this mod. You can try use "image" type instead of "text" type.
-
Ok... It works with "image annotation" when I upload new pics...
Batch Annotate it doesn't work and it show errors like this
Processing image Desert from category Visit to JERUSALEM !!, image ID 497 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 186
OK
Processing image Patriarxiki Sxoli Ierosolimon from category Visit to JERUSALEM !!, image ID 498 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 186
OK
Processing image Eisodos Naou Bithleem from category Visit to JERUSALEM !!, image ID 499 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/sav2003/public_html/bambas/includes/annotate.php on line 186
OK
-
this mod is fantastic !
is there is any way to use it with the old pictures in the gallery that were published before installing the mod ?
the secend time I am asking about the upper question ..
+
what does the link in the admin panel which says (( Batch Annotate )) do ?
is there is a way to remove the annotate ?
-
I install the MOD from along time
and everyting is working good
but nowdays
I got this error when I try to use Batch Annotate
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /home/egyptson/public_html/gallery/admin/plugins/batch_annotate.php on line 8
Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/egyptson/public_html/gallery/admin/plugins/batch_annotate.php on line 8
I don't know why :(
-
help me :roll:
-
this mod is fantastic !
is there is any way to use it with the old pictures in the gallery that were published before installing the mod ?
the secend time I am asking about the upper question ..
+
what does the link in the admin panel which says (( Batch Annotate )) do ?
Your second question is the answer to your first question ;)
is there is a way to remove the annotate ?
No, not really, unless you manage to make copy of each image before you add annotation.
-
got it ...
thank you ! :)
-
PLz someone help me about my previous topic . .. V@no :lol: :lol:
-
Looking at the error message I only could guess that the images are corrupted, or for some reason (such as they have spaces in the filenames) system can not located them properly (especialy if you are using ImageMagick)
-
am gettng this error
Processing image cele from category , image ID 4 >>
Fatal error: Call to undefined function: imagettfbbox() in /public_html/includes/annotate.php on line 95
does this mean server is not capable of watermarking?
i tried the script in the 2nd page of this site on my unix servers, it gives a parse error!
-
your server did not meet the minimum requirements for this mod. You can try use "image" type instead of "text" type.
Hope thats the right answer... (o:
-
tried that...still getting a bunch of errors
Processing image aish look from category Rai, image ID 3 >>
Warning: rename(aish23P.jpg,aish23P.jpg.bak): No such file or directory in /public_html/includes/annotate.php on line 12
Skipped
Processing image aish close from category Rai, image ID 9 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /public_html/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /public_html/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /public_html/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /public_html/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /public_html/includes/annotate.php on line 186
OK
Finished!
-
the url to the gallery and a admin user (send by pn) where fine... (o:
auto thumbnailer works fine at your gallery?
-
ok, ich hab das jetzt alles gemacht, mit dem standart logo für GD klappt das auch, mein eigenes will nicht :( aber das ist bestimmt mein fehler....
aber wenn ich Test eifügen will tut sich da garnichts ??
-
Processing image aish close from category Rai, image ID 9 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /public_html/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /public_html/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /public_html/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /public_html/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /public_html/includes/annotate.php on line 186
I have the same problem:
With image annotation (logo-gd.png)
Warning: imagesx(): supplied argument is not a valid Image resource in /home/www/web72/html/home/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/www/web72/html/home/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/www/web72/html/home/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/www/web72/html/home/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/www/web72/html/home/includes/annotate.php on line 186
With text annotation-->
Warning: imagettfbbox(): Could not find/open font in /home/www/web72/html/home/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/www/web72/html/home/includes/annotate.php on line 193
There's no difference between normal upload and batch_annotation.... always the same errors...
You see my problem! What can I do???
Circumstances:
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
GetText Support enabled
System Linux tux43 2.4.21-291-athlon #1 Tue May 24 11:59:34 UTC 2005 i686
The path I've insert is: /home/fonts/TAHOMA.TTF for the text and /logo-gd.png for the image which is in the root of 4images....
Please help me, step by step :?
PS: I've read the whole thread and there are a few others with the same error, but i'ver nowhere found a clear solution. It can be the *nix-system or the path.... :?: :?: :?:
-
Warning: imagettftext(): Could not find/open font in /home/www/web72/html/home/includes/annotate.php on line 193
...
The path I've insert is: /home/fonts/TAHOMA.TTF for the text ...
Your full path to your font should be : /home/www/web72/html/home/fonts/TAHOMA.TTF
and similar to your image ( logo-gd.png ) ...
mawenzi
-
Your full path to your font should be : /home/www/web72/html/home/fonts/TAHOMA.TTF
Thanks! With the logo-gd.png no problem, but with the text I receive the errors again:
Warning: imagettfbbox(): Could not find/open font in /home/www/web72/html/home/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/www/web72/html/home/includes/annotate.php on line 193
I have inserted your path...
Any suggestions?
Thank you very much for your help....
-
@ Olphi,
... is the way of writing with large letters correct ... the font-file-name in the font-folder ... ?
-
Check permissions
-
... is the way of writing with large letters correct ... the font-file-name in the font-folder ... ?
Everything should be OK, I have tried the tahoma.ttf in the root folder of 4images to start, but always the same errors (with large and small letters!)... @ Va@no: The permissions are CHMOD 777...
It should work, but it doesn't :?: :?: :?:
-
Is it possible to only display the watermark on images for certain user groups? Like say some member groups will see watermarked images, some will see unmarked images. Or maybe even for some groups just the full size image is watermarked but everything else is unmarked? Let me know :)
-
... is the way of writing with large letters correct ... the font-file-name in the font-folder ... ?
Everything should be OK, I have tried the tahoma.ttf in the root folder of 4images to start, but always the same errors (with large and small letters!)... @ Va@no: The permissions are CHMOD 777...
It should work, but it doesn't :?: :?: :?:
I think the Path not right
/home/www/web72/html/home/includes/
how you have got to "Home" directory
-
I've got it, don't know how...
I've changed the folder name to annotate and then --> no more problems! (the permissions were the same...)
:roll:
-
What about this error
Fatal error: Call to undefined function: imagettfbbox() in /home/muzic/domains/vietnamphotos.net/public_html/includes/annotate.php on line 95
-
your server didnt pass the minimum requirement by this mod. You only can use image type of annotination, no text type.
-
Thank sir ,
it working fine : http://vietnamphotos.net/img5.htm
-
Thanks for another great mod :D
I have installed this mod and it works fine. But I have some categories that I do not want to be auto watermarked. Is there anyway to configure it to not adding watermark to picutres on these categories?
Best Regards.
-
Sali :wink:
You can switch off the auto annotation and from time to time use the batch annotation for those categories which you want to have a watermark...
I know its a bit more work than normal, but I don't think there's a simple solution :!: But if someone knows where and how... :mrgreen:
Cheers
-
I really like this Mod.
is there any chance you can do it on a "Per Image" basis?
Someone did this for their version of Subdreamer:
http://www.subdreamer.org/forum/index.php?showtopic=449&pid=2563&st=0&#entry2563
I was hoping to do this for 4images, since MANY photographers will be uploading, and many would want the opportunity to watermark, whereas some don't care & would like to share their images.
Thanks!
-
I really like this Mod.
is there any chance you can do it on a "Per Image" basis?
Someone did this for their version of Subdreamer:
http://www.subdreamer.org/forum/index.php?showtopic=449&pid=2563&st=0&#entry2563
I was hoping to do this for 4images, since MANY photographers will be uploading, and many would want the opportunity to watermark, whereas some don't care & would like to share their images.
Thanks!
I think everything is possible! It depends on your php knowledge.... :wink:
But if you are so good than I am, forget it! :mrgreen: :mrgreen: :mrgreen:
Cheers
-
@ Olphi
I know that I can do it like that. But it wasn't what I was asking for, was it??
I think it is better to not answering if you don't have a real answer. What you do is called SPAMMING :x
thanks
-
@ Olphi
I know that I can do it like that. But it wasn't what I was asking for, was it??
I think it is better to not answering if you don't have a real answer. What you do is called SPAMMING :x
thanks
Please stay calm.... :wink:
What I want to say is: I have also looking for such a possibility and I had nothing found. There is no solution for this problem here or I haven't found it....
The only way is the one I've postet!
Cheers @izone
-
hello i am trying to use annotate in image mode all files uploaded, no error messages, but when i hit submit on batch annotate i get this message after 4 secs
No category selected, nothing to annotate...
Finished!
any idea what this is
thanks
RT
-
Hello,
great MOD he work's fine
Greez Darkness :mrgreen:
-
There is an problem with EXIF metadata preserving with Image Annotation MOD.
If image is watermarked it lost's EXIF marks...
Can some one help with this problem ??
-
Hello :!:
I have problem with this mod :( I have installed it and everything looks fine (no errors), but there is no any annotation on my pictures :|
And I don't know why :?: I try this small code (from 1. post) and it's working :!: I use GD library 2.0.28, and have no any annotation :(
Pls help me.
-
did you enable it in the settings?
-
@ V@no,
hello when i demoed this mod on your site, i grabbed an image, and all i could get was the image named nonono. the annotstion is working, but when i grab (steal a pic from the my site ) i get the whole picture,can you please tel me how this works,i want to float the nononono picture on top of the original images does this mod do this or is this another mod i need to install
thankyou
RT :)
-
@ artpic
http://www.4homepages.de/forum/index.php?topic=6997.0
http://www.4homepages.de/forum/index.php?topic=4906
http://www.4homepages.de/forum/index.php?topic=4236.msg17507#msg17507
-
@mawenzie, thanks for the threads :D and it worked in 5 minutes great stuff :D
RT
-
did you enable it in the settings?
enable :?: Could u tell me where I can do this :?:
define('CONVERT_IS_GD2', 1);
I've set it too... but still nothing...
-
enable :?: Could u tell me where I can do this :?:
That would be in your ACP's configuration page. ;)
-
There is a new menu should apper on left side, in "General" section, under the link to the settings.
-
V@no, yes I know about this new menu... but... there is no option to enable annotation function there :| I'm from Poland and i translated this menu to Polish language. Maybe something with this is not correct :?:
Moreover, I try to batch annotate option in my gallery and on every picture is -> OK, but there areno any annotate on my pictures :(
And I don't need to set font file ( :?: ), this mod everytime is OK :!: No errors :!: And no annotate on my pictures :(
-
After installing a mod, follow the instructions exactly, then after confirming that its working properly do your own modifications.
In the settings, the very first option Use auto images annotation on image upload must be enabled.
-
hallo zusammen
ich habe jetzt alle 27 seiten durchgelesen und verstejhe immer nochnicht wie ich das instalieren kann.
bitte helft mir
-
Hallo galadrium,
einfach vorne anfangen und je nachdem was du alles von dem Mod übernehmen möchtest einbauen.
Das Wichtigste steht auf der ersten Seite und im Download auf der ersten Seite.
Zugegeben das Mod ist nicht das Leichteste und du solltest bereits etwas Mod-Erfahrung mitbringen.
viel Erfolg
Matthias
-
danke für deine hilfe.
aber leider ist das mein erstes mod. deswegen hab cih da etwas mühe. und leider spreche icha uch kein englisch :o(
gibts da noch ne anleitung auf deutsch?
-
now im just finish to read 28 pages about this mod,install all corect.
problem is the batch mode, i want set watermark by older pictures but it dont works.
i have more than 800 pictures inmy galery so dont want set a watermark manualy.
is there no solution for the batch mode??
using image1.7.1,gd are installed,all other okay.
:(
-
@beepNCLUB
I had the same problem as you. I solved this by removing all my thumbnail files manually by ftp and then run batch mod and after that recreat all thubmnails.
Unfortunatly, the thumbnails got a watermark too.
what I could to do (if I was samrter :mrgreen: ) was that insted of removing thumbnail saving them somwhere on my pc and after recreation upload theme to my site again and replace the new one.
You can test it! But on your own risk. :D
-
kann mir den niemand auf deutsch helfen?
:roll:
-
mal eine dumme Frage. Wie bekomme ich in bereits hochgeladenen Bildern den Watermark?
Hab über 4000 in knapp 80 Kategorien!
-
Durch die "Batch Annotate"-Funktion! Dort kannst Du die Kategorie anwählen, etc... :mrgreen:
-
hab ich schon gemacht, hab eine kategorie mit 10 bildern genommen, und dann arbeitet er bild id bis 4000 ab! Und zu sehen ist trotzdem ncihts
-
Ok, hast Du vielleicht vergessen auf Auto-Annotate zu stellen, denn dies muss "on" sein, beim batchen... :?:
-
ah hier leben ja noch welche :o)
habe noch ne frage befor ich versuche (obwohl ich noch nie ein mod instaliert habe) das mod zu instalieren.
kann man das wasserzeichen später wieder entvernen oder löschen?
mfg
galadrium
-
Nein, denn einmal Wasserzeichen, immer Wasserzeichen! Das .jpg wird verändert!
-
ah gut zu wissen.
äm kannst du mir mal dein bild zeigen mit einem solchen wasserzeichen, nicht dass ich den ganzen aufwand umsonst machen muss :D
-
Du kannst statt einem bild auch Text als Wasserzeichen nehmen! Meine Page ist gerade offline ;-) aber schau doch mal auf mawenzis page ;-)
www.detlev-kostka.de (http://www.detlev-kostka.de)
Er hat Text...
-
oh vielen dank.
kannst du mir noch sagen wie das mit dem ftp upload funzt? muss ich dan die wasserzeichen manuell einfühgen, also so wie bilder checken oder sind die dan schon drauf?
mfg
galadrium
ps; vielen dank das du mir hilfst :D
-
Ich hab si immer manuell nach dem ftp-upload eingefügt!
-
ak vieln dank
werde es mir heute abend instalieren. das wird mein erstes mod sein *zittert*
kannst mir noch ein paar tips geben? oder soll ich einfach mal date runterladen und dan install?
-
Lies alle postings zum Thema! Ich kann nur sagen, dieser Mod ist nicht ganz so einfach wie andere, aber eben Übung macht den Meister! Musst ihn ja nicht programmieren, ist schon alles da! Also eigentlich nur vorsichtig copy - paste...
TIP: Mach ein backup...
Viel Spass :mrgreen:
-
ja ich würde es gerne lesen, aber kann leider kein englisch.
muss ich den nur das allererste poost lesen?
-
Ok, hast Du vielleicht vergessen auf Auto-Annotate zu stellen, denn dies muss "on" sein, beim batchen... :?:
ist auf "on" gestellt. Aber das bringt mir ja ncihts beim ftp upload!
Wie mache ich denn nu die manuellen Wasserzeichen? was mus ich wie einstellen wenn ich von einer bestimmen Kategorie die Bilder mit einem Wasserzeichen versehen möchte?
Schonmal Danke
-
hab es eben nochmal versucht ab dem Bild mit der ID 5713. Die habe ich kurz zuvor hochgeladen (per FTP)
Es komtm folgende Fehlermeldung:
Annotating between image ID 5713 and 5718:
Processing image xxx from category Vorglühen bei xxx, image ID 5713 >>
Warning: imagettfbbox(): Could not find/open font in /usr/export/www/vhosts/funnetwork/hosting/olpi/4images/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /usr/export/www/vhosts/funnetwork/hosting/olpi/4images/includes/annotate.php on line 193
OK
Woran liegt das? wenn ich direkt von der Seite uploade geht das und das Wasserzeichen kommt auch automatisch!
PS.: Benutze kein BIld-Wasserzeichen, einfach nur ein Text!
-
Hallo / Hello
Habe den MOD annotation installiert. Funktioniert super gut! Das einzige Problem ist nur, dass wenn ich Wasserzeichen hinzufüge dei EXIF und IPTC Infos gelöscht werden.
Was kann man dagegen machen??
I have installed the annotation MOD. It works fine. The actual problem is only that it's delete the EXIF and IPTC entries from the images, when i run this MOD. What can i do??
Thx und Danke Philippe
-
dagegen kann man meines Wissens nicht viel machen,
da durch die bearbeitung mit GDLib (also der Grafik Engine),
die ja durch diesen Mod benutzt wird,
leider immer die exif Infos geklöscht wird.
Bei ImageMagic ist das glaub ich nicht der Fall,
falls dein Hoster das installiert hat,
kannst du ja evtl. damit mal dein Glück versuchen (in den Settings im CP dann umstellen).
-
Hallo zusammen,
ich habe eine etwas dümmliche Frage glaube ich:
Wenn ich hier dieses Mod installiert habe und danach deinstallieren möchte, reicht es dann die Änderungen an den Dateien rückgänging zu machen, bzw. die Rettung einzuspielen? Oder muss man auch an einer der 4iamges - Tabellen etwas rückgängig machen?
-
HI . Ich hab das problem das ich all admin upload und alles ist ok. wen ein normal user upload sind kein wasserzeichen drin. Ich glaub es hat damit was zu tun das ich all admin die bilder erst freischallte, oder hat jemand ein andere idee weiso das so ist ?? :
-
I review all the topic but nothing about to correct the next errors:
this happend before install, before change the database...
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_use', '0')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_mode', 'text')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_embed_image', 'logo-gd.png')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_embed_image_opacity', '100')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_embed_image_bg', '#000000')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_font', 'annotate.ttf')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_font_size', '10')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_use_shadow', '1')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_shadow_offset', '1')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_image_quality', '80')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_text', 'My Fantastic Gallery at http://www.mydomain.com')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_fill_color', '#BFBFBF')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_shadow_color', '#000000')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_fill_alpha', '0.7')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_shadow_alpha', '0.6')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_v_alignment', 'top')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_h_alignment', 'left')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_top_offset', '5')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_bottom_offset', '5')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_left_offset', '5')
Column count doesn't match value count at row 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_right_offset', '5')
Column count doesn't match value count at row 1
How can i Correct this
-
You did not install the mod properly. Check all steps.
My bet would be the step for constants.php file
-
I review the instructions to install again and I din't see a step to talk about constant.php :S
-
oh...its a bug in the installer...
Replace $sql = "INSERT INTO ".SETTINGS_TABLE." (".get_user_table_field("", "setting_name").get_user_table_field(", ", "setting_value").")
With: $sql = "INSERT INTO ".SETTINGS_TABLE." (setting_name, setting_value)
-
Yeah it installed sucsessfully but now it givme a error
No category selected, nothing to annotate...
Finished!
-
Hmm i will try it in englisch :))
My problem is . if i upload a pic as admin the picture has the watermark, but wenn a normal user reg. uploads the picuture doesnt. Is is maybe becaus i dont let reg user direkt upload, i look at the pic first if its ok or not.
-
All works good, but these variables: %N - Site Name, %H - full Site URL, %U - short Site URL, %S - User Name, %D - date, %T - time, %B - don't work. On pictures display like "%D" not "some date".
And one more question: how to make black line under watermark as like V@no's gallery?
Thanks!
-
also ich habe jetzt alles installiert.
jetzt habe ich aber eine frage ist es richtig wen ich die TTF datei direkt in den 4images ordner lade?
oder wass könnte das problem sien das es nicht geht?
hier die fehlermeldung:
Processing image 1414-009 from category test für wasserzeichen, image ID 362 >>
Warning: imagettfbbox(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 192
Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 193
OK
Processing image 1414-010 from category test für wasserzeichen, image ID 363 >>
Warning: imagettfbbox(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 192
Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 193
OK
Processing image asfsefwad from category test für wasserzeichen, image ID 364 >>
Warning: imagettfbbox(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 192
Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 193
OK
Processing image yscfrom category test für wasserzeichen, image ID 365 >>
Warning: imagettfbbox(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 192
Warning: imagettftext(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 193
OK
Finished!
und was genau ist die image ID
mfg
galadrium
-
wurde in diesem thread x-mal beantwortet!
-
habs aber nirgens gefunden, kann kein englisch
-
und wen ich es mit nem bild machen will kommt
Annotating between image ID 362 and 365:
Processing image 1414-009 from category test für wasserzeichen, image ID 362 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 186
OK
Processing image 1414-010 from category test für wasserzeichen, image ID 363 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 186
OK
Processing image asfsefwad from category test für wasserzeichen, image ID 364 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 186
OK
Processing image yscfrom category test für wasserzeichen, image ID 365 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/www/web8/html/4images/includes/annotate.php on line 186
OK
Finished!
-
hallo also trez hat mir grad im ICQ geholfen.
das problem wahr das der pfad vom ttf nicht korekt wahr.
mfg
galadrium
-
Warning: imagettfbbox(): Could not find/open font in /home/www/web8/html/4images/includes/annotate.php on line 95
-
Hallo,
I hope you can help me:
My SafeMode is ON and I have no chanche to change it (I've asked my Server-Admin but it's not possible - because of the security rules...).
Is there any chanche to use this mod with "SAFE MODE" on?
Because of it, I get these messages:
Warning: imagejpeg(): Unable to access ./data/media/8/Reifenroller_klein.jpg in /home/www/..../4images/includes/annotate.php on line 187
Warning: imagejpeg(): Invalid filename './data/media/8/Reifenroller_klein.jpg' in /home/www/..../4images/includes/annotate.php on line 187
thank's for your help!
CU Swallow
-
Hey SLL / V@no
I just went through the whole 30 page of the thread.. but no one seem to ask the following question... 8O :roll:
How can we Batch Annotate all images in all category at once like the following mod?
[MOD] Check new images in ALL categories v2.10.5 (http://www.4homepages.de/forum/index.php?topic=4754.0)
?? :?:
-
hallo ich ahbe nochmals eine frage.
bei den einstellungen kann man ja bei "Annotation Text" auch variablen eingeben z.b den usernamen usw. kann mir einer erklären wie das geht? bei mir fünzt das nicht. würde es gerne so machen. "username" © www.GEILI-SITA.ch
danke shcon mal für eure hilfe
-
Hi,
I've started to install this mod, but I thought I should first check with the code provided, if it'll work.
<?php
header ("Content-type: image/png");
$im = imagecreate (180, 30);
$black = imagecolorallocate ($im, 0, 0, 0);
$white = imagecolorallocate ($im, 255, 255, 255);
imagettftext ($im, 14, 0, 10, 21, $white, "/home/public_html/arial.ttf", "GD Freetype test");
imagepng ($im);
imagedestroy ($im);
?>
Well, the little code, doesn't work. I get a black box, but no white text.
I used both absolute and relative link to the font, but still nothing..
This is the server report:
gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
Do I require anything else to make this work?
TIA!
Mat
EDIT: Problem fixed. It was in the path. I wish it would be explained better. You need a FULL server path, like /home/www/users/quantas/domain/www/multimedija/font.ttf.. not just ../font/font.ttf or www.domain.com/fonts/font.ttf.
I got the test script working now, now for the whole mod.. fingers crossed..
-
A little trouble with this mod.
When I try the small code in first post, It works fine.
The mod itself is working without problem when using Image watermark. But when I try to use font that I used before for test code it give the following error message
Warning: imagettfbbox(): Could not find/open font in /home/***/public_html/wallpapers/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/***/public_html/wallpapers/includes/annotate.php on line 192
Warning: imagettftext(): Could not find/open font in /home/***/public_html/wallpapers/includes/annotate.php on line 193
Is it not able to find the font??
In Mod setting I tried giving relative url as well as full path. But the result is same.
Where to start digging???
-
permissions issue?
-
The font file is in www.domain.com/fonts/a.ttf
fonts is chmod to 777
a.tff is chmod to 666
What would be the correct permission?
What would be the correct path in this case. (to write in ACP)
"./fonts/a.ttf" or "http://www.domain.com/fonts/a.ttf"
-
and did you try 777 on the files?
the first path would be correct, but the second is not "full" path as you mentioned above, its internet path. Full path is a local server path like /home/users/some/path/fonts/a.ttf
-
and did you try 777 on the files?
the first path would be correct, but the second is not "full" path as you mentioned above, its internet path. Full path is a local server path like /home/users/some/path/fonts/a.ttf
That internet path was my "third" option. First I tried with full path.
I assume by "files" you mean Images. (I was uploading as guest & I really dont know how could I use chmod 777 for upload)
The Good thing is it works now. I just try chmod 777 with font file. :D
There is one thing with text annotation. With Quality set to 90 %. It increases the file size by around 50 kb
While with Image Annotation using Quality 95 % the image size increase only around 15kb (tried with a 1024*768 wallpaper of 120kb)
I wonder why? :?:
-
its normal, try open any jpeg files in any image editor tool and save it with quality 95%, you'll see the difference ;)
IMO 80-85 is the most optimal quality/filesize
-
I read all the forum over and over and dont find a solution
Runing the Mod with no error and nothing hapens.
No watermark in the Pictures.
Trayed batch anonotaion as TExt and with the Png but no result .
all files are modived like described , all test done GD is ok .
After the batch it returns with a OK after each pic.
Yes and pathes also set corectly to the fonts permission is 777
any suggestion wher to look for a error
Thank you very much i hang now for quite a long time
-
User uploading gets the annotation great. It's when I try in admin that I still get this error when I try to use the batch annotate. Also, when I upload via admin, there is no annotation...? Thanks in advance for any help with this.
Warning: imagettfbbox(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 95
P.S. I had this error on the user side and have fixed that.
-
Ok, after more reading elsewhere, I know why the images don't get the annotation when uploaded in admin... it wasn't put in the code and it makes sense. Now my only question is... Why do I get that error when trying to use batch annotate in admin?
Thanks
EDIT:
I have since installed
[MOD] Check new images in ALL categories v2.10.3
and
[MOD] Batch Copy/Move/Edit Images v3.6
and now the error I get when trying to use the batch annotate is
No category selected, nothing to annotate...
Finished!
And it is looking in a folder with images. Help :?:
-
Hi
I have recently installed this MOD, it seems OK and I do not get any error message. I am not sure if it is been discussed befor or not! so my problem is that when I do batch annotation, it counts all the files, gives OK prompt but there is not any watermark on images!!!
the last message I get is:
Annotating between image ID 2131 and 2139:
Finished!
any suggestions? pls
-
I have searched every page on this forum trying to figure out why I don't have a setting option for the water mark. Like other i only have
Batch Annotate
I followed every step 3 times and still that is all i have. I manually went to ann_settings.php to change the settings, and got it to work. I can now watermark my images, but would still like it to work properly. Why do i not have a setting option for the watermark mod? :(
-
perpahs because your are looking for the settings in the wrong place? this mod adds a link "Annotation settings" on left panel (under "Settings" link)
-
I made checked,checked and rechecked just to make sure i wasnt wating peoples time. the only new link i have is under plugins. and that is (batch annotate)
I rechecked step by step my install of this mod and cant seem to find what happened. Like i said before it works, i just don't have a way to control it. I have to make all my changes through mysql database.
-
Then there are only two possible reasons:
1) you failed when modifying admin/index.php
2) you failed when modifying lang/<your language>/admin.php
there are no other possible reasons could possible cause what you have.
-
Hi
I have recently installed this MOD, it seems OK and I do not get any error message. I am not sure if it is been discussed befor or not! so my problem is that when I do batch annotation, it counts all the files, gives OK prompt but there is not any watermark on images!!!
the last message I get is:
Annotating between image ID 2131 and 2139:
Finished!
any suggestions? pls
I now have no more errors but have this same thing. It says finished... but it hasn't started. :o) I'm sure it's a missed "something somewhere" I just don't know what or where. Any hints on where to start looking for this?
Thanks! :D
-
Is there a way to annotate images in all subcategories ?
I have more than 700 categories I don't really want to Batch Annotate each ones. :lol:
thanks
-
I'm still trying to figure out why this is happening. Anyone know? Thanks! :oops:
It happens when trying to use the batch annotate button in the admin section.
No category selected, nothing to annotate...
Finished!
And it is looking in a folder with images. Help :?:
-
ok, 31 pages later i still don't know how to solve my problem :(. i have a question with the textvariables of watermark. if i understand the whole thing correct, than i have to type for example %N for the name of the galery, %H for the site url and so on. my problem is, that it doesn't work correctly. if i use the variable %N, that is what in the end stood on my picture: %N (or some other letter ...)
und falls mich jemand auf deutsch versteht: wie funktioniert das mit den variablen für den watermark-text? wenn ich z. b. %N als variable eingebe, steht anschliessend genau das auch auf meinem bild: nämlich "%N". irgenwie werden die variablen nicht umgesetzt und ich hab absolut keinen schimmer warum. 31 seiten durchlesen hat mich irgendwie auch nicht schlauer gemacht ....
:?:
-
hi all,
for all people which still have problems with the (not working) variables %D %T %N %H %U %S %B,
here is the solution!
:arrow: open annotate.php and find :
$ann_vars = array ("'%D'", "'%T'", "'%N'", "'%H'", "'%U'", "'%S'", "'%B'");
and replace by:
$ann_vars = array ('%D', '%T', '%N', '%H', '%U', '%S', '%B');
:idea: delete all single quote (and keep double quotes) OR delete all double quotes (and keep single quote) from the original code
and it should work!
... and this solution had perhaps not been rather clear but it had been already posted here (http://www.4homepages.de/forum/index.php?topic=3808.msg42236#msg42236) :wink:
Thanks to the authors of this good mod!
-
thanks a lot :)
-
im having the same problem
No category selected, nothing to annotate...
Finished!
what I need to do to correct that problem?!?!?!
thanks
-
User uploading gets the annotation great. It's when I try in admin that I still get this error when I try to use the batch annotate. Also, when I upload via admin, there is no annotation...? Thanks in advance for any help with this.
Warning: imagettfbbox(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 95
P.S. I had this error on the user side and have fixed that.
hi everyone, I also have the same problem when i trying to do the batch annotate in admin.
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in C:\Domains\creativebugs.com.my\wwwroot\gallery_area2\includes\annotate.php on line 95
what is the problem
-
and how to annotate like the anotate of vano site that ads a black section at the bottom?!?!
thanks
and for the error that I posted anyone?" can help?"!?
-
I finally got an error out of the batch annotate.
Processing image 19 from category Cats, image ID 1793 >>
Warning: imagettfbbox(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 192
Warning: imagettftext(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 193
OK
and my font setting in the annotation settings admin is (and it works like this on the user side)
./fonts/arial.ttf
Can someone tell me where I went wrong?
Thanks
-
set full font path (as readme says, btw), like /home/digital/public_html/fonts/arial.ttf. the reason is that paths from user and admin pages are different
-
[12-May-2006 00:57:44] PHP Warning: imagesx(): supplied argument is not a valid Image resource in E:\gallery\includes\annotate.php on line 176
[12-May-2006 00:57:44] PHP Warning: imagesy(): supplied argument is not a valid Image resource in E:\gallery\includes\annotate.php on line 177
[12-May-2006 00:57:44] PHP Warning: imagecolorallocate(): supplied argument is not a valid Image resource in E:\gallery\includes\annotate.php on line 184
[12-May-2006 00:57:44] PHP Warning: imagecolortransparent(): supplied argument is not a valid Image resource in E:\gallery\includes\annotate.php on line 185
[12-May-2006 00:57:44] PHP Warning: imagecopymerge(): supplied argument is not a valid Image resource in E:\gallery\includes\annotate.php on line 186
GD2 support is available, server is IIS6.0 (Win2K3), the test PHP function shows OK. Permission on all files is 777.
Any ideas?
-
set full font path (as readme says, btw), like /home/digital/public_html/fonts/arial.ttf. the reason is that paths from user and admin pages are different
Thank you so much, it works!!!
-
Hi every one ,
i think i'm too late ..
i liked this MOD and was trying to install it . And i followed all the instractions But still not able to get the result ( No output) :( ..
my GD information is :
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
The test page is :
http://www.btlat.net/1/2.php ( the is OK )
BUT the result on the gallery it NOT Ok :(
Every thing is fine , my path is : /home/----/public_html/font/TAHOMA.TTF
may you help me please ???? is it the right path or not ?
do i need to chmod 777 for my font Dir ?
Thank you in advance ..
..
-
Check error logs on the server (ask your host administrator if you dont know)
-
Hello folks,
after installing this MOD I get this error message when clicking on the "Batch Annotate" button in the admin pannel.
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /home/httpd/vhosts/****.com/httpdocs/****/4images/admin/plugins/batch_annotate.php on line 8
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /home/httpd/vhosts/****.com/httpdocs/****/4images/admin/plugins/batch_annotate.php on line 8
Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:') in /home/httpd/vhosts/****.com/httpdocs/****/4images/admin/plugins/batch_annotate.php on line 8
I reinstalled 2 times from the scratch. I can easily alter the annotate settings in the admin pannel. I chmodded every file of this mod to 777. The server runs all requiered software (GD2+ with freetype support). The testcode from the first post runs smoothe.
Plz Help ! :?: :( :? :oops:
-
Guys the Mod is working,
Watermark is directly adding when uploaded, but i am getting these error:what is the problem here?
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /home/content/i/r/g/irgealtinbek/html/foto/admin/plugins/batch_annotate.php on line 8
Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/usr/local/lib/php') in /home/content/i/r/g/irgealtinbek/html/foto/admin/plugins/batch_annotate.php on line 8
-
Hi, i've using this mod a long time yet and I'm very happy.
But i decided to use no longer a text annotation, so i created a graphic (png) in photoshop...
The problem is that my background colour is visable. I've found out that's a software problem. If i save the example "logo-gd.png" by photoshop, it doesn't work...
So the question is, which software will produce a *.png file which is working with gd...!?
Please help, i need an invisable background!!!
Thanks, x1x
-
@ x1x
First-Class-Freeware : Image Editor - Ultimate Paint ; Download : http://www.ultimatepaint.com (http://www.ultimatepaint.com)
-
Nice software, but the problem still exists...it must be a png-file with special specifications, for example only 8 colors or no dithering...
-
There are two versions of png PS can save: PNG-8 and PNG-24
The 24bit PNG worked just fine in my tests.
-
Thanks, 24-PNG works!
-
This works with images uploaded by url ??? if not, how can i make it work :?:
-
dear com,
i just install new version of 4homepages and try the annotation mod.
sad to say,but i cant see any watermark on pictures-no errors.
so my question,
... did that mod working with version 1.7.2?
???
pls,thx
-
Warning: main(): Unable to access ./../admin/admin_global.php in /var/www/vhosts/laisvalaikis.yours.lt/httpdocs/admin/plugins/batch_annotate.php on line 8
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /var/www/vhosts/laisvalaikis.yours.lt/httpdocs/admin/plugins/batch_annotate.php on line 8
Warning: main(): Unable to access ./../admin/admin_global.php in /var/www/vhosts/laisvalaikis.yours.lt/httpdocs/admin/plugins/batch_annotate.php on line 8
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /var/www/vhosts/laisvalaikis.yours.lt/httpdocs/admin/plugins/batch_annotate.php on line 8
Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/vhosts/laisvalaikis.yours.lt/httpdocs/admin/plugins/batch_annotate.php on line 8
whats bad?
-
Hi I did all the steps, but if I try to save the setting it doesn't do it. What am I doing wrong, or what do I have to check in the software?
Hallo ich habe alle schritte absolviert, aber wenn ich meine einstellungen speichere dann behaelt er die daten nicht. Was mache ich falsch bzw. was soll ich in der software checken.
Gruss
Ludo
-
You didnt run the installer?
-
hatte sehr lange zeit das selbe problem weil der font im falschen(?) verzeichnis lag.
die pfadangabe bzw deren erkennung ist manchmal etwas sonderbar bei 4images...
mach deinen font am besten dorthin wo dein 4images hauptordner liegt,also wo steht html/4images.
aber am besten NICHT in den 4images folder sondern im selben hauptordner.
den ordner fonts brauchste nicht.
dann bei den annotation einstellungen einfach diesen pfat angeben: /home/deinfont.ttf
-
after long time tryin to running batch annotate i found the problem.
this mod works realy great,just make sure your path is okay.
for example, try this in your annotate prefences:
/home/www/your account or username/html/logo-gd.png
just try - it realy works :wink:
(also with version 1.7.2)
:lol:
-
Danke der schnelle antwort, hatte denn installer nicht laufen lassen :oops: aber das geht jetzt soweit. Wann wird allerdings die Schrift dazu geschrieben (oder die Abbildung) Irgendwie kriege ich das nicht hin. Das Pfad zur Abbildung was muss mann da genau einfüllen? Ein relatiever pfad mit dem Bild im 4Images ordner drin, oder darf es auch ein absoluter pfad sein und muss ich dann denn Server internen nehmen oder dem aus dem Browser? Danke für eure anregungen ;)
Thanks for the quick reply, I forgot to run the installer :oops: but I got that running now. When is the annotation written in the Image (text and image) Somehow I don't get anything. Which path do I have to fill in exactly? A relative path, with the image in my 4Images directory or can I take an absolute path and does is have to be the path in the server inside or the one you view in a browser. Well thanx for any help ;)
Ludo
-
Got another question
Batch annotation, wat does suppost to happen if I press this, because I can't see nothing. I do not have GD installed on my server, but Image Magick. I would like to use an image file for annotation. Which types of files does it support? Why don't I see nothing if I push batch annotation?
Greetings
Ludo
PS the test file doesn't show anything on my system, if nessesary where can I find GD and how do I install this?
-
Hi i installed it and i dont see the text and i get this error in the plugins thing
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /home/desitrac/public_html/mehsus/images/admin/plugins/batch_annotate.php on line 8
Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/desitrac/public_html/mehsus/images/admin/plugins/batch_annotate.php on line 8
-
Got another question
Batch annotation, wat does suppost to happen if I press this, because I can't see nothing. I do not have GD installed on my server, but Image Magick. I would like to use an image file for annotation. Which types of files does it support? Why don't I see nothing if I push batch annotation?
Greetings
Ludo
PS the test file doesn't show anything on my system, if nessesary where can I find GD and how do I install this?
OK looked at the file and compared it with the clear cache function and discovererd next difference:
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
Original line
if changed it for
$root_path = (!eregi("\/plugins\/", $_SERVER['PHP_SELF'])) ? "./../" : "./../../";
Now I can see something when I click the button. I don't know if someone already mentioned it, but I was lazy and I didn't wanted to read all 33 pages :oops: I will now check if it funcions.......
Greetings
Ludo
-
OK I did something this time.....only still no annotation :(
I got next message:
Processing image Anno_Test from category 3SB Penken at Mayrhofen Zillertal, Austria, image ID 18 >> Skipped
Processing image test2 from category 3SB Penken at Mayrhofen Zillertal, Austria, image ID 19 >> Skipped
Finished!
I try to annotate with the IM image provided. Is this because my link to the image is not ok, or is there another problem?
here are my settings:
(http://seilbahn.homaris.nl/Photowettbewerb/voorbeeld.jpg)
Greeting
Ludo
-
In the images. gif not writers come the copyirigt! : (
Why? : (
Bye
-
Hi i installed it and i dont see the text and i get this error in the plugins thing
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /home/desitrac/public_html/mehsus/images/admin/plugins/batch_annotate.php on line 8
Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/desitrac/public_html/mehsus/images/admin/plugins/batch_annotate.php on line 8
I got same error when I try to use "Batch Annotate"
[qcode]Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/egyptson/public_html/gallery/admin/plugins/batch_annotate.php on line 8
Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/egyptson/public_html/gallery/admin/plugins/batch_annotate.php on line 8[/qcode]
-
to all those getting errors when using the mod like the error that egyptsons and many others are getting
well its all about placement of your font file, you have to take the font you wish to use from your C:/windows/Fonts etc folder on your computer and upload it to the main root of your gallery or the plugins directory (im not entirely sure which as i have it in both lol) then just make sure the font is named xxxxx.ttf all lowercase where xxxxx is the name of the font and put that name into the annotate settings as xxxxx.ttf with no location or path etc just the font name and it should work fine
Im having problems with this mod on a different matter can anyone help
size of text, depending on if width of image or height of image is the smallest side depends on if the annotation works or not
lets saya i have an image thats only 300 wide and 400 high and another thats 400 wide and 300 high if i have the font size set as something nice that shows up good on the one thats 400 wide so it goes almost from one side right accross to the other with my watermark text it does not work for the images that are smaller in width
is there no way this mod can be modified to make it so it makes the size of the annotation text dependent on the size of the image as i dont want my text not showing up on small images coz it was too wide to fit and i dont want it set so small that it cant be read on larger images
really need help with this
something like making it be a percentage of the width of the image so if i center it at the top it is maybe 90% of the complete width of the image no matter if the image is 100px wide or 100000px wide
thanks
Mikey
-
In the images. gif not writers come the copyirigt! : (
Why? : (
Bye
Help!:)
-
yeah the script seems to have problems working with some gif files mainly ones containing transparency
anyone got any ideas on my other problem of making the font size be based on the image width so its smaller for smaller pics and bigger for bigger pics etc
Mikey
-
Sorry but i have some problem to understand,as i don't speak english well....could you explain it in easier way?
-
what language do you speak? i could translate it?
basically what i said was
this mod does not work well with .gif files if the .gif file is a transparent gif
other than that i do not know how to fix this problem
-
I speak Italian! :)
Ok now I understood.
Hello and thanks
-
this mod does not work well with .gif files if the .gif file is a transparent gif
other than that i do not know how to fix this problem
Just want to clarify this: its not the mod's problem, its the graphic module you are using for thumbnail cretion.
Personaly I'm using GD 2 which comes with PHP v5.1.4 and never had problems with .gifs, well, only with animated gifs, but still it doesnt crash, or anything, it just leaves only first frame...
Also, I've experienced some issues with ImageMagic (v5 I belive) when it would destroy animated image with transparent colors.
-
yeah my host only has GD php version 4.3 i think
anyway does anyone have any input about how to change this mod so that the image or text it places on an image is sized as a percentage of the actual image so that it appears the same on all images instead of huge on small images and small on huge images
Mikey
-
Hi if I click batch anotate, I only see skipped....
I'm using Imagemagick, does anybody maybee know what the problem could be.
Thanks
Ludo
-
Just looking for clarification.
When using this mod along with V@no's Check New Images mod (http://www.4homepages.de/forum/index.php?topic=4754.0) and Show Original Image mod (http://www.4homepages.de/forum/index.php?topic=3236.0), I'm seeing that only the thumbs and the "detail" pictures are being watermarked. The "BIG" pictures are not. Is this the way it is supposed to work "out of the box"? Is there any way to also watermark the "BIG" photos? Thanks!
-
Hi there,
i've used this mod now for some months without any issues. I've used the Text-Annotation only. Today i wanted to change it to the Image-Annotation.
I made a Logo, saved it as .png on my server and configured the mod.
When i upload a picture now, there is now annotation added. If I use the BatchAnnotate in Admin CP it say that the picture has successfully annotated, but i still can't see the logo...
What did I wrong?
Regards
-
Brauche Hilfe
Ich habe alles genau so gemacht wie es in install.doc es stand aber es klappt nicht mit den Wasserzeichen ich bekomme auch keine Fehler Meldung es klappt einfach nicht, das einzige was jetzt ist unten bei den PlugIns ist jetzt auch Batch Annotate aber da tut sich nichts wen ich es anklicke.
Vielleicht habe ich ja was falsch gemacht weil mein englisch gar nicht gut ist und ich etwas falsch verstanden habe.
-
Hi there,
i've used this mod now for some months without any issues. I've used the Text-Annotation only. Today i wanted to change it to the Image-Annotation.
I made a Logo, saved it as .png on my server and configured the mod.
When i upload a picture now, there is now annotation added. If I use the BatchAnnotate in Admin CP it say that the picture has successfully annotated, but i still can't see the logo...
What did I wrong?
Regards
Just out of curiosity, did you double-check your transparency settings? If the image is too transparent, you might not be seeing it... Just a thought.
BTW... Anyone have an answer to my earlier question? Just looking for clarification.
When using this mod along with V@no's Check New Images mod (http://www.4homepages.de/forum/index.php?topic=4754.0) and Show Original Image mod (http://www.4homepages.de/forum/index.php?topic=3236.0), I'm seeing that only the thumbs and the "detail" pictures are being watermarked. The "BIG" pictures are not. Is this the way it is supposed to work "out of the box"? Is there any way to also watermark the "BIG" photos? Thanks!
-
@Brainwrek: Goddamned...i read "visibility" of the picture, not "invisibility" ;) Thx!
But unfortunately i can't solve your problem.
-
LeeWicked... Glad that helped. :D
V@no... PM me. I have some paid work for you if you're interested. Against a deadline and I need your expertise.
-
Hello everyone,
I am using GD version 2, 4images 1.7.2 and I encounter this error when adding new images and annotation to them...
Warning: imagesx(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 186
Working on data/media/1/a32kya.jpg file:
Added annotation in data/media/1/a32kya.jpg file.
Created thumbnail.
Image added: a32kya.jpeg
Although it says that it had added the annotation, the picture remains unannotated.
a link to the annotation picture : Annotation.png (http://www.alexkhyuen.com/gallery/annotation.png)
can anyone give me any clue to what is happening? I am totally new to php
-
Hi
i get this errors when i hit the Batch Annotate in control panel
[qcode]Warning: main(): Unable to access ./../admin/admin_global.php in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/admin/plugins/batch_annotate.php on line 8
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/admin/plugins/batch_annotate.php on line 8
Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php') in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/admin/plugins/batch_annotate.php on line 8[/qcode]
Someone who can help me? and tell me what to do?
-
page 33
-
hi its not working i think on top of my acp annonation thing it says
Annotation Settings [ GD is set as an image conversion tool ]
and when i click on batch annonate than nothin happens it stays blannk
-
Thanks.
Now it's working :D
-
Hello everyone,
I am using GD version 2, 4images 1.7.2 and I encounter this error when adding new images and annotation to them...
Warning: imagesx(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/alexkh5/public_html/gallery/includes/annotate.php on line 186
Working on data/media/1/a32kya.jpg file:
Added annotation in data/media/1/a32kya.jpg file.
Created thumbnail.
Image added: a32kya.jpeg
Although it says that it had added the annotation, the picture remains unannotated.
a link to the annotation picture : Annotation.png (http://www.alexkhyuen.com/gallery/annotation.png)
can anyone give me any clue to what is happening? I am totally new to php
Image added: a32kya.jpeg
you used JPEG
it only works wth jpg right now!
is it possible to get it work with jpeg?
Thx
-
Becouse this topic is huge I would like to ask you if it's possible to add username text as watermark when uploading photo or image? If user wish so.
-
Yes, it is, read the instructions, I belive its mentioned what kind of tags can be added in the watermark text.
-
Becouse this topic is huge I would like to ask you if it's possible to add username text as watermark when uploading photo or image? If user wish so.
why you don't check the whole thread?
if everybody would ask if something is possible the Thread will even become longer
-
:lol: why don´t you read through the whole internet? :roll: sorry, but i must say, everything here (templates, mods and so on) is very difficult to find. I really like the idea of having a foum to discuss und bugfix and all but this here is total chaos. And I know what I´m talking about, believe me. :mrgreen:
-
I finally got an error out of the batch annotate.
Processing image 19 from category Cats, image ID 1793 >>
Warning: imagettfbbox(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 192
Warning: imagettftext(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 193
OK
and my font setting in the annotation settings admin is (and it works like this on the user side)
./fonts/arial.ttf
Can someone tell me where I went wrong?
Thanks
i have the same error! it only works , if a user uploads an image
everyone says, that you have to set the full path
what does it mean?
like this? http://www.mydomain.com/4images/font/ARIAL.TTF
doesn't work for me
-
wisst ihr eigendlich was es heisst 35 Seiten zu lesen wo zwar viel geschrieben steht, aber keiner so richtig was sagt ;)
Und dann 95 % in englisch :cry:
OK, hab es am laufen
ABER :wink:
wenn ich %S für Usernamen eingebe, steht im Bild auch %S und nicht Klaus-Bärbel :(
Was muss ich den wo noch ändern, um jetzt überall die Usernamen ins Bild zubekommen ?
schickt mich aber bitte nicht wieder durch die 35 Bilder :oops:
Danke für eure Hilfe
Harald
-
wisst ihr eigendlich was es heisst 35 Seiten zu lesen wo zwar viel geschrieben steht, aber keiner so richtig was sagt ;)
Und dann 95 % in englisch :cry:
OK, hab es am laufen
ABER :wink:
wenn ich %S für Usernamen eingebe, steht im Bild auch %S und nicht Klaus-Bärbel :(
Was muss ich den wo noch ändern, um jetzt überall die Usernamen ins Bild zubekommen ?
schickt mich aber bitte nicht wieder durch die 35 Bilder :oops:
Danke für eure Hilfe
Harald
ja ich weiß wie es ist 35 Seiten zu lesen! Ich habe mich mal an einem ganzen Tag durch das KOMPLETTE Mod Forum gewühlt - von vorne bis hinten- und mir alle Mods so aufgeschrieben mit Link die ich haben will :lol:
Das English sollte man doch hier verstehen! Es ist ja v.a. Denglisch!
Klaus-Bärbel? Are you killing me :mrgreen:
ich hatte mal das gleiche Problem
hier die Lösung:
öffne annotate.php und suche
$ann_vars = array ("'%D'", "'%T'", "'%N'", "'%H'", "'%U'", "'%S'", "'%B'");
und ersetze mit
$ann_vars = array ('%D', '%T', '%N', '%H', '%U', '%S', '%B');
alles klar Klaus-Bärbel? nun können deine User wieder Ü-Ei Fotos hochladen und dann steht dort auch z.B. der Name "Horst"!
EDIT
ey jo, Jan-Lukas. ich habe mir mal deine U U Seite angesehen und festgestellt, dass du dort eine Shoutbox hast. Falls das diese Shoutbox hier ist http://www.4homepages.de/forum/index.php?topic=10545.msg76633#msg76633
so lade sie mal bitte hier als Attachement hoch, da dort der DL-Link nicht mehr vorhanden ist. DANKE
-
I finally got an error out of the batch annotate.
Processing image 19 from category Cats, image ID 1793 >>
Warning: imagettfbbox(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 192
Warning: imagettftext(): Could not find/open font in /home/digital/public_html/includes/annotate.php on line 193
OK
and my font setting in the annotation settings admin is (and it works like this on the user side)
./fonts/arial.ttf
Can someone tell me where I went wrong?
Thanks
i have the same error! it only works , if a user uploads an image
everyone says, that you have to set the full path
what does it mean?
like this? http://www.mydomain.com/4images/font/ARIAL.TTF
doesn't work for me
Same problem here - my annotation works but I get the line 95 error - I suppose its late and Im tired but Id like to resolve this. Still searching for an answer...
-
finally got it - had to contact my hosting company - found out I needed a /www/www instead of /www :roll:
-
alles klar Klaus-Bärbel? nun können deine User wieder Ü-Ei Fotos hochladen und dann steht dort auch z.B. der Name "Horst"!
EDIT
ey jo, Jan-Lukas. ich habe mir mal deine U U Seite angesehen und festgestellt, dass du dort eine Shoutbox hast. Falls das diese Shoutbox hier ist http://www.4homepages.de/forum/index.php?topic=10545.msg76633#msg76633
so lade sie mal bitte hier als Attachement hoch, da dort der DL-Link nicht mehr vorhanden ist. DANKE
Sag noch mal Klaus-Bärbel zu mir :D das war nur eine Einlage um den Haufen hier etwas auf zulockern :wink:
Werde das dann probieren, obwohl ich da schon großes vertrauen in dir habe *g*
Danke dir
Harald
Ps. was die Shoutbox angeht versuche ich mein Möglichstes, hab mir mal eine neue Platte geleistet, und das ist mit 100% Sicherheit auf der alten (nicht meine alte).
Muss also erst mal wieder Umbauen und dann suchen, aber werden wir schon finden.
-
alles klar Klaus-Bärbel? nun können deine User wieder Ü-Ei Fotos hochladen und dann steht dort auch z.B. der Name "Horst"!
EDIT
ey jo, Jan-Lukas. ich habe mir mal deine U U Seite angesehen und festgestellt, dass du dort eine Shoutbox hast. Falls das diese Shoutbox hier ist http://www.4homepages.de/forum/index.php?topic=10545.msg76633#msg76633
so lade sie mal bitte hier als Attachement hoch, da dort der DL-Link nicht mehr vorhanden ist. DANKE
Sag noch mal Klaus-Bärbel zu mir :D das war nur eine Einlage um den Haufen hier etwas auf zulockern :wink:
Werde das dann probieren, obwohl ich da schon großes vertrauen in dir habe *g*
Danke dir
Harald
Ps. was die Shoutbox angeht versuche ich mein Möglichstes, hab mir mal eine neue Platte geleistet, und das ist mit 100% Sicherheit auf der alten (nicht meine alte).
Muss also erst mal wieder Umbauen und dann suchen, aber werden wir schon finden.
nein danke, Klaus-Bärbel !
Ein Anderer hat sie im spezifischen Thread nochmal attached.
Und klappt es jetzt mit dem username?
-
Na dann kann ich ja aufhören zu suchen ;)
Mit dem Usernamen klappt es bestens, hab es aber erst mal in einer von 3 Galerien eingebaut
Danke für deine Hilfe
gruss Harald
-
Habe 4Images 1.7.3 installiert und heute das [Mod] Image Annotation aufgespielt.
Funzt fast alles einwandfrei - allerdings nur, wenn ich Batch-Annotate starte. Obwohl ich "Automatische Annotation-Funktion beim Upload" aktiviert habe wird Bilderupload kein Wasserzeichen "aufgestempelt". Fehlermeldungen gibt es keine...
Hat jemand eine Idee?
Lufine
I use 4Images 1.7.3 and today I installed [Mod] Image Annotation.
Works fine - but only in Batch-Annotate Mode. Although I activated "automatic annotation function at upload" I get no Watermark. There are no error messages...
Has anyone an Idea?
Lufine
-
Habe 4Images 1.7.3 installiert und heute das [Mod] Image Annotation aufgespielt.
Funzt fast alles einwandfrei - allerdings nur, wenn ich Batch-Annotate starte. Obwohl ich "Automatische Annotation-Funktion beim Upload" aktiviert habe wird Bilderupload kein Wasserzeichen "aufgestempelt". Fehlermeldungen gibt es keine...
Hat jemand eine Idee?
Lufine
I use 4Images 1.7.3 and today I installed [Mod] Image Annotation.
Works fine - but only in Batch-Annotate Mode. Although I activated "automatic annotation function at upload" I get no Watermark. There are no error messages...
Has anyone an Idea?
Lufine
http://www.4homepages.de/forum/index.php?topic=13719.msg76632#msg76632
versuche mal das hier, falls du nur die Variablen benutzt hast
-
Vorschlag für neue Version:
In der 4images_images Tabelle ein zusätzliches Feld: image_annotated. Wenn Annotation gesetzt wurde, steht hier 1 drinnen, so dass man nicht versehentlich ein Bild zweimal mit ner Annotation versehen kann.
Grüße
Faux
-
Hallo!
Der Mod funktioniert bei mir sehr gut, alle Bilder bekommen ein Wasserzeichen.
Was ist aber mit den Thumbnails? Die sollen eigentlich auch ein Wasserzeichen bekommen, bei denen funktioniert das aber nicht. Weiss jemand woran das liegt? Ist die Funktion noch nicht implementiert?
-
da müsste man nochmal ne Menge am Code umschreiben und ich bezweifle, dass jemand dazu Lust hat, denn du bist wohlmöglich der (die ?) Einzige/r, der seine Thumbnails branden will.
Warum eigentlich?
Bitte mal erläutern, dnen ich stehe irgendwie auf`m Schlauch. Meine Vorstellungskraft ist ausgeschöpft und ich kann mir nicht zusammenreimen, warum man ein Watermark auf ca. 100 mal 100 px Thumbs benötigt.
-
this works fine but i've a problem , at instructions this said :
You can use the following variables: %N - Site Name, %H - full Site URL, %U - short Site URL, %S - User Name, %D - date, %T - time, %B - line break
but at photo this don't work , show "%N" and not the site name :|
-
http://www.4homepages.de/forum/index.php?topic=13719.msg68084#msg68084
P.S. I also added a note regarding this issue to the original topic.
-
da müsste man nochmal ne Menge am Code umschreiben und ich bezweifle, dass jemand dazu Lust hat, denn du bist wohlmöglich der (die ?) Einzige/r, der seine Thumbnails branden will.
Warum eigentlich?
Bitte mal erläutern, dnen ich stehe irgendwie auf`m Schlauch. Meine Vorstellungskraft ist ausgeschöpft und ich kann mir nicht zusammenreimen, warum man ein Watermark auf ca. 100 mal 100 px Thumbs benötigt.
Die Thumbnails sind bei uns in der Gallerie 300x300 Pixel groß. Warum genau mein Auftraggeber das will weiss ich nicht...
-
http://www.4homepages.de/forum/index.php?topic=13719.msg68084#msg68084
P.S. I also added a note regarding this issue to the original topic.
source file fixed :wink:
-
I have installed this mod; however, it can not create the images. It only displays this image:
(http://www.amator-balikcilik.com/galeri/data/media/171/my_059_2.jpg)
Have you encontered a problem like that?
-
da müsste man nochmal ne Menge am Code umschreiben und ich bezweifle, dass jemand dazu Lust hat, denn du bist wohlmöglich der (die ?) Einzige/r, der seine Thumbnails branden will.
Warum eigentlich?
Bitte mal erläutern, dnen ich stehe irgendwie auf`m Schlauch. Meine Vorstellungskraft ist ausgeschöpft und ich kann mir nicht zusammenreimen, warum man ein Watermark auf ca. 100 mal 100 px Thumbs benötigt.
Die Thumbnails sind bei uns in der Gallerie 300x300 Pixel groß. Warum genau mein Auftraggeber das will weiss ich nicht...
lol
dann sach ihn, dass es Schachsinn ist
-
Mine saves a 0 byte enpty image, as I have described in my previous message.
What may have caused this problem?
-
I use NetPBM for thumbnail creation. I read, GD2+ is need for text annotation. Well I do not use text annotation, I use image annotation.
But it annotates nothing, on the contrary, it erases the complete image.
-
hi,
i have a problem:
if i click on "batch annotate" in the admin cp the following text comes:
Warning: require() [function.require]: Unable to access ./../admin/admin_global.php in /var/www/******/html/galerie/admin/plugins/batch_annotate.php on line 8
Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /var/www/******/html/galerie/admin/plugins/batch_annotate.php on line 8
Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.') in /var/www/***/html/galerie/admin/plugins/batch_annotate.php on line 8
what means that and what can i do?
Also wenn ich da auf das "Bacth Annotate" im Admin CP klicke kommt der obige Fehler. Was bedeutet er und wie kann ich ihn beheben? die dateien sind alle im Ordner.
-
Hi!
I have the same Problem with "batch annode".
-
what means that and what can i do?
just set absolute full path in mod settings!!!
-
Habs alles durchgelesen 8O und auch alles so gemacht, so wie es in meiner English Sprachkenntnisse liegen. Trotz all dem kann ich kein Wasserzeichen setzen, obwohl keine Fehlermeldung angegeben wird. Ich bin am Verzweifeln.
Die Galerie unter http://www.dj-events24.de/kings-pub/galerie/index.php zu finden.
Hier hab ich mich bereits mit 37 Seiten durchgekämft und hab nix gefunden, wo noch der Hacken liegen könnte.
Hoffe mal hier auf deutschsprachige Hilfe, denn so perfekt ist mein English nun doch nicht.
Gruß Nyssa
-
@ nyssa
... für 'ne Hilfe sind die Infos zu spärlich ... :?
-
hallo zusammen!
ich hatte die annotation schon eimal installiert, nun habe ich aber die gallerie auf einem anderen sever installiert und natürlich auch die annotation.
bei dieser kommt nun aber immer dieser fehler, wenn ich ein foto hochlade:
Warning: imagesx(): supplied argument is not a valid Image resource in /home/hockeypi/public_html/4images/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/hockeypi/public_html/4images/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/hockeypi/public_html/4images/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/hockeypi/public_html/4images/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/hockeypi/public_html/4images/includes/annotate.php on line 186
Warning: imagesx(): supplied argument is not a valid Image resource in /home/hockeypi/public_html/4images/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/hockeypi/public_html/4images/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/hockeypi/public_html/4images/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/hockeypi/public_html/4images/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/hockeypi/public_html/4images/includes/annotate.php on line 186
Working on data/media/1/OSI_9203.JPG file:
Copied original file into data/media/1/download/ folder.
Added annotation in data/media/1/download/OSI_9203.JPG file.
Image resized.
Added annotation in data/media/1/OSI_9203.JPG file.
Created thumbnail.
Bild erfolgreich hinzugefügt: OSI 9203
die datei wird dann zwar hinzugefügt, aber ohne watermark!
ein ahnung was da das problem ist?
danke, gruss
funix
-
@ nyssa
... für 'ne Hilfe sind die Infos zu spärlich ... :?
Welche Infos sind zu spärlich. Einfach erklärt, ich habe dies Instaliert, alles eingerichtet, so wie es in der Install Beschreibung stand. Bei der ganzen Sache hatte es keinen einzigen Fehler angezeigt gehabt. Es zeigt auch in den Admin Bereich annotation an, auch die Einstellungen gehen, nur wenn ich dann ein Bild uploade, zeigt das Wasserzeichen im Bild nicht an. Das ist mein Hauptproblem.
Hier mal ein Screen im Anhang, das es vorhanden ist. Ich benutze 4Image 1.7.3
Ich weiss nicht, was ich da noch angeben soll, um um eure Hilfe zu bekommen.
Gruß Nyssa
-
PERFECT
1st try.. working fine for me!
THX!
-
change ROOT_PATH to "../../"
Ive tried this - because I have the samme problem. But there are new errors, like unexpected t_string.
What I have to do in detail. My batch_annotate, the first lines
<?php // PLUGIN_TITLE: Batch Annotate
$nozip = 1;
define('IN_CP', 1);
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
define('ROOT_PATH', $root_path);
define('MEDIA_DIR', 'data/media');
define('MEDIA_PATH', ROOT_PATH.MEDIA_DIR);
require(ROOT_PATH.'admin/admin_global.php');
require(ROOT_PATH.'includes/annotate.php');
my error:
Warning: main(./../admin/admin_global.php) [function.main]: failed to open stream: No such file or directory in /srv/www/.../.../.../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 /srv/www//.../.../.../admin/plugins/batch_annotate.php on line 8
Fatal error: main() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:') in /srv/www//.../.../.../admin/plugins/batch_annotate.php on line 8
Could you help me please?
-
@ nyssa
... zumindest haben wir jetzt mehr Informationen ...
... und ich sehe aus deinem Bild vom ACP, dass der Pfad zu deinem einzubettenden Bild garantiert nicht stimmt ...
... "Einzubettendes Bild - Spezifizieren Sie das PGN-Bild mit dem vollen Pfad und Dateiname" ...
-
@ nyssa
... zumindest haben wir jetzt mehr Informationen ...
... und ich sehe aus deinem Bild vom ACP, dass der Pfad zu deinem einzubettenden Bild garantiert nicht stimmt ...
... "Einzubettendes Bild - Spezifizieren Sie das PGN-Bild mit dem vollen Pfad und Dateiname" ...
Spezifizieren Sie das PGN-Bild mit dem vollen Pfad und Dateiname = meint man damit, das ich das volle http://www....... usw. angeben soll, oder was wurde damit gemeint. Stehe im Moment auf dem Schlauch
Gruß Nyssa
-
... der volle Pfad auf dem Server ... siehe auch Posts auf den vorherigen Seiten ...
... sieht etwa so aus ... home/virtual/var/www/html/4images/.../logo_gd.pgn ...
... ist aber natürlich server- und websitespezifisch ...
-
Hallo,
Danke, das Problem konnte gelöst werden.
batch_annonate.php
diese Zeile:
[qcode]define('ROOT_PATH', '§root_path');[/qcode]
durch
[qcode]define('ROOT_PATH', 'C:/Programme/xampp/htdocs3/anro/');[/qcode]
ersetzen.
Also anstatt '§root_path' den vollen Pfad eingeben!
Schöne Grüße
anni63
-
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 :(
-
What change font settings (bold, italic, underline, itp) in this plugin?
-
wat should i do wid font setting ?
-
welll can i put it like http://mysite/fonts.ttf ? like this or no cause i dont know what would be the server location :(
-
Now when i do this it says No category selected, nothing to annotate...
Finished!
-
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:
-
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?
-
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!
-
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! :(
-
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
-
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 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:
-
I have a solution
Change in batch_annotate.php
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
to:
$root_path = (!eregi("\/plugins\/", $_SERVER['PHP_SELF'])) ? "./../" : "./../../";
-
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
[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
-
thx wallpapers it worked!!!
-
I have a problem between the [Mod] Image Annotation with the MOD multiupload, if a multiupload is made from an error.
help
PS: sorry for my english
-
thx wallpapers it worked!!!
it's good to hear that :D
-
Hat es schon irgendjemand bei 1.7.4 am laufen bekommen? Bei mir klappt es irgendwie nicht ganz. Es werden unter anderem nicht alle Bescreibungstexte (Einstellungen) angezeigt und dazu macht es garnichts, wenn ich es anwenden will. Es gibt jedoch auch keine Fehlermeldung.
Gruß Hendrik
-
I have a solution
Change in batch_annotate.php
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
to:
$root_path = (!eregi("\/plugins\/", $_SERVER['PHP_SELF'])) ? "./../" : "./../../";
Hi,
Danke!
ich bekomme keine Fehlermeldung mehr.
Aber ich kann noch nicht damit arbeiten.
Der Watermark funktioniert noch nicht.
Die Bilder werden weder beim Upload und noch nachher Watermark!
Ich nutze auch Version: 1.7.4 !
Besten Dank
m.a
-
Also was ich festgestellt habe, dass nur wenn die Einstellung nicht LINKS OBEN gewählt wurde funktioniert es bei mir! Gibt es dauernd den Fehler als wenn er die schriften nicht findet. Stelle ich alles aber um auf mitte oder boden geht alles sowohl bild als auch text...?
-
Bei mir (auch Version 1.7.4) geht es auch nicht mehr, egal, was ich einstelle. Der kurz Test-Code, zum testen, ob man alle Voraussetzungen hat funktioniert allerdings.
Pflege ich neue Bilder ein, steht zwar da: added annotation.... aber auf dem Bild ist nichts.
Gibt es schon Abhilfe ?
-
@ Ivan
... danke für diese eindeutige Aussage ... !
... nun dürften alle Vers.1.7.4-Bedenken zerstreut sein ...
-
Ich habe das Mod unter 1.7.4 installiert, nur wenn ich im ACP auf den 'batch-annotation'-link klicke erscheint leider kein Panel sondern nur eine weisse Seite???
Was habe ich denn hier übersehen??? (Ich habe die Installation schon nachgecheckt)
I have the Mod installes under 1.7.4, but after clicking the button' batch-annotation' in the ACP only a white page is shown (instead of a panel)???
Missed something? (Doubleckecked the installation already;-)
Danke and thx,
picster
-
Und hat sich schon erledigt :)
(genau lesen macht das Leben leichter...)
Ich habe jetzt den absoluten Pfad manuell in der batch_annotate.php eingefügt, Zeile 5: define('ROOT_PATH'),"absoluter Pfad/"); Dann klappt's auch gleich auf Anhieb. SUPER MOD - DANKE, SLL! :D
already done :)
(Reading in patience makes life much easier...)
In batch_annotation.php, line 5, I adjusted manually the define_ROOT_PATH like this: define('ROOT_PATH'),"absolute Path/"); So everything works now like a snap. SUPER MOD - THANKS SLL!!! :D
PS.: Just an Idea: This little detail should be described in the doc?
cheers, picster
-
@ picster
... ja, wer lesen kann ist absolut im Vorteil ... ;)
-
hallo zusammen, ich benutze vers. 1.7.4 und funktioniert einwandfrei
überprüft eure server config
und vorallem den absoluten pfad angeben!
gruss ivan
Hallo,
ich habe den absoluten pfad angegeben und funktioniert (Watermark) mit dem png-Bild.
Aber leider beim Text (Anmerkung Modus: Text) kommt immer ncoh die Fehler-Meldung:
Warning: imagettfbbox(): Could not find/open font in /var/www/web1/html/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /var/www/web1/html/includes/annotate.php on line 193
Working on data/media/71/b_fotokina_MG_3253.jpg file:
Copied file into data/thumbnails/79 folder.
Copied original file into data/media/79/big/ folder.
Image resized.
Added annotation in data/media/79/b_fotokina_MG_3253.jpg file.
Created thumbnail.
Bild erfolgreich hinzugefügt: BildXX
Obwohl ich den absoluten pfad für den file arial_2.ttf angegeben habe.
Woran kann es liegen?
Grüß
m.a
-
Hallo,
@m.a
ich habe einfach eine .ttf in annotate.ttf umbenannt und in das Script Root hochgeladen.
Außerdem noch in der ia.sql
annotation_text*My Fantastic Gallery at http://www.mydomain.com
angepasst.
Gruß
michi-w.
-
Hallo,
ich habe einfach eine .ttf in annotate.ttf umbenannt und in das Script Root hochgeladen.
Gruß
michi-w.
hi,
aber bei mir funktioniert leider nicht Text-Modus von Image Annotation (Watermark).
Ich habe auch .ttf datei in Root hochgeladen und den absoluten pfad angegeben.
Genau wie beim .png datei.
Aber es funktoniert nicht.
Und kommt diese Fehler-Meldung, dass ich beim voriges post geschrieben habe.
Es findet den Datei .ttf nicht
Grüß
m.a
-
Warning: main(./../admin/admin_global.php) [function.main]: failed to open stream: No such file or directory in /srv/www/vhosts/matxich.com/httpdocs/xxxgallery/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 /srv/www/vhosts/matxich.com/httpdocs/xxxgallery/admin/plugins/batch_annotate.php on line 8
Fatal error: main() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/share/php') in /srv/www/vhosts/matxich.com/httpdocs/xxxgallery/admin/plugins/batch_annotate.php on line 8
When i kick to http://matxich.com/xxxgallery/admin/plugins/batch_annotate.php
i have erro
Help me fig
-
@ vuong184
replace files before editing, and try again.
was not completed to instructions.
-
maybe my hosting disable some funtions of php
so can I use other php script?. help me
-
maybe my hosting disable some funtions of php
so can I use other php script?. help me
Doubt it.
Check your file permissions
Did you do the following?
replace files before editing, and try again.
was not completed to instructions.
-
back to the "batch_annotate" problem
i have made this correction to the file
<?php // PLUGIN_TITLE: Batch Annotate
$nozip = 1;
define('IN_CP', 1);
// $root_path = (!eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
$root_path = (!eregi("\/plugins\/", $_SERVER['PHP_SELF'])) ? "./../" : "./../../";
// define('ROOT_PATH', $root_path);
define('ROOT_PATH', '/var/www/vhost/hwugallery.com/home/html/');
define('MEDIA_DIR', 'data/media');
define('MEDIA_PATH', ROOT_PATH.MEDIA_DIR);
require(ROOT_PATH.'admin/admin_global.php');
require(ROOT_PATH.'includes/annotate.php');
but the batch function don't work.. search and process the image but non annotation will made
during upload all works fine
tnx to all
>bYeZ<
-
I have a solution
Change in batch_annotate.php
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
to:
$root_path = (!eregi("\/plugins\/", $_SERVER['PHP_SELF'])) ? "./../" : "./../../";
Ok, now there is no error but when I want to add my own logo .png file, i enter a name and everything and go to Batch Annotate in ACP, select category and everything and click to start it looks like it applies to all pictures in my gallery but when it's finished, I go to see the results and images are the same - without watermark? Anyone know where is the problem?
Sorry for my bad english!
Tnx
-
das mod ist off,kan bitte jemand das neu uploaden? oder ähnliches anbieten.
mfg
-
@ Hammerbe
... der Downloadlink funktioniert bestens ... !
-
@mawenzi danke dir gestern wars off.
ich bekomme eine fehler meldung.
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /var/www/vhosts/web1/httpdocs/4images/includes/annotate.php on line 193
-
kan mir den keiner was sagen?
ich denke es muss irgent wie einen font geben,aber keine ahnung wie? kann jemand bitte Deutsch schreiben wie das gemacht werden soll.
mfg
-
Hallo,
ich würde sagen, daß die .ttf Datei fehlt, bzw. nicht der richtige Pfad dazu.
Gruß
Kurt
-
das ttf datei habe ich auf 4iamges ordner und der pfad ist http://www.meinseite.de/4images/annotation.ttf ist doch richtig ?
-
Herzlichen dank jetz habe ich das hinbekommen.
-
wie funkzuniert das überhaupt? muss ich jeden kategori einzäll schreibenlassen? ich habe einen haupt kategori bilder/kinder/urlaub/auto/ und und wähle ich haupt kategorie bilder
Number of images to do per cycle 100
Image ID to start at schreibt er automatisch 1103
aber es passiert nichts?
wähle ich einen kategorie und id direckt wird geschrieben
mfg
-
Danke ivan
-
i gott error while installing plz tell how to fix it...
(http://i15.tinypic.com/3313hah.jpg)
-
Did you upload the "ia.sql"?
That seems to be missing
-
still error ... but this time new
(http://i18.tinypic.com/33vnn8h.jpg)
-
i am also getting error like:
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_use', '0')
Duplicate entry 'annotation_use' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_mode', 'text')
Duplicate entry 'annotation_mode' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_embed_image', 'logo-gd.png')
Duplicate entry 'annotation_embed_image' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_embed_image_opacity', '100')
Duplicate entry 'annotation_embed_image_opacity' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_embed_image_bg', '#000000')
Duplicate entry 'annotation_embed_image_bg' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_font', 'annotate.ttf')
Duplicate entry 'annotation_font' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_font_size', '10')
Duplicate entry 'annotation_font_size' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_use_shadow', '1')
Duplicate entry 'annotation_use_shadow' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_shadow_offset', '1')
Duplicate entry 'annotation_shadow_offset' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_image_quality', '80')
Duplicate entry 'annotation_image_quality' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_text', 'My Fantastic Gallery at http://www.mydomain.com')
Duplicate entry 'annotation_text' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_fill_color', '#BFBFBF')
Duplicate entry 'annotation_fill_color' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_shadow_color', '#000000')
Duplicate entry 'annotation_shadow_color' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_fill_alpha', '0.7')
Duplicate entry 'annotation_fill_alpha' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_shadow_alpha', '0.6')
Duplicate entry 'annotation_shadow_alpha' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_v_alignment', 'top')
Duplicate entry 'annotation_v_alignment' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_h_alignment', 'left')
Duplicate entry 'annotation_h_alignment' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_top_offset', '5')
Duplicate entry 'annotation_top_offset' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_bottom_offset', '5')
Duplicate entry 'annotation_bottom_offset' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_left_offset', '5')
Duplicate entry 'annotation_left_offset' for key 1
DB Error: Bad SQL Query: INSERT INTO 4images_settings () VALUES ('annotation_right_offset', '5')
Duplicate entry 'annotation_right_offset' for key 1
-
@ asley & maxpaul
Double check that you did everything.
I just did a fresh install then added this mod and I did not get any errors at all.
Something was not done right somewhere, just don't know what direction to point you in.
-
I get this error message when i try to access PlugIns Batch Annotate:
I think i have installed everything correct
Warning: main(./../admin/admin_global.php) [function.main]: failed to open stream: No such file or directory in /home/option/public_html/gallery/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/option/public_html/gallery/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/option/public_html/gallery/admin/plugins/batch_annotate.php on line 8
-
One question...
Why is the watermark-mod only working when I upload a .jpg file ?
It does not work with a .jpeg file or .gif .bmp .png , etc.!
Can somebody help me with that?
Friendly regards,
Benjamin
-
Anyone...? It's working, but only other extensions, except .jpg, aren't working :(
-
Hi
i get this errors when i hit the Batch Annotate in control panel
[qcode]Warning: main(): Unable to access ./../admin/admin_global.php in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/admin/plugins/batch_annotate.php on line 8
Warning: main(./../admin/admin_global.php): failed to open stream: No such file or directory in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/admin/plugins/batch_annotate.php on line 8
Fatal error: main(): Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php') in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/admin/plugins/batch_annotate.php on line 8[/qcode]
Someone who can help me? and tell me what to do?
Hi,
I´m have same error. how to fix this?
help me please!
see my gallery: http://paparazzo.4bes.net
:(
-
One question...
Why is the watermark-mod only working when I upload a .jpg file ?
It does not work with a .jpeg file or .gif .bmp .png , etc.!
Can somebody help me with that?
Friendly regards,
Benjamin
Somebody? :(
-
Bei mir wird das batchen seit einiger Zeit nicht mehr automatisch beim uploaden gemacht, warum kann das sein?
Sonst hats auch immer funktioniert.
With me this is not done batchen since some time any more automatically with uploaden,Why can this be? But hats also always functions.
sorry for my english.
-
I tried bu getting this error:
Warning: rename(PICTURE.jpg,PICTURE.jpg.bak) [function.rename]: Permission denied in /home/mysite/public_html/includes/annotate.php on line 12
Working on data/media/146/PICTURE.jpg file:
Error adding annotation in data/media/146/PICTURE.jpg file.
Image added: PICTURE
Any sol. to this problem??
GD2+ Truetype support is installed and Safemod is off
Please help me :?
-
Fragen zum generellen Verständnis:
1. Der Mod schreibt Watermarks für jedes hoch geladene Image, nicht aber in bereits am Server befindliche bzw. nur wenn das eingestellt wird, korrekt? Mir geht's darum, daß ich die bestehenden in der Gallery nicht markieren will, alle zukünftigen dann aber schon.
2. Das Watermark wird Bestandteil des Bildes, sowohl in Thumbnail als auch wenn jemand das Bild runterlädt, korrekt?
Hier geht's mir darum, wie ich in Zukunft dann meine Bilder organisieren muß, z.B. am PC die Originale, in der Gallery die mit Watermark, passiert mal was mit der Gallery, kann ich die Originale wieder hochladen und im Batch neu watermarken lassen. Jedenfalls hab ich das so verstanden.
3. Ist beim Aktivieren der Bilder ein selektives Watermarken möglich?
Ich lade Bilder fast nur per FTP hoch, entweder direkt in die Categories oder eine gesammelte und verteile von dort aus auf die Categories. Beim Aktivieren werden die Bilder aber dann natürlich wie Kraut und Rüben angezeigt, was bisher aber egal war.
Da ich nicht immer alle hochgeladenen Bilder watermarken will, wäre es gut, beim Aktivieren oder spätestens via edit-image dann einstellen zu können, wo ein Watermark gesetzt werden soll. Geht das?
-
I have no erros and the test is ok (black pictures). The problem is that when I upload a photo the watermark doesn't appears. Only appears photo without watermark. What's happen?. Thank you.
I resolve this problem:
- In the Control Panel. In Annotation Settings mark the option "Use auto images annotation on image upload" with "Yes".
- In the Control Panel. In Batch images annotation choice the category to watermak and click "Send".
This options doesn't appears in the instructión os this mods.
-
I have no erros and the test is ok (black pictures). The problem is that when I upload a photo the watermark doesn't appears. Only appears photo without watermark. What's happen?. Thank you.
I resolve this problem:
- In the Control Panel. In Annotation Settings mark the option "Use auto images annotation on image upload" with "Yes".
- In the Control Panel. In Batch images annotation choice the category to watermak and click "Send".
This options doesn't appears in the instructión os this mods.
At the very end of the install.doc file it states: Go Admin Control Panel and check/modify annotations settings.
-
But this option In the Control Panel. In Batch images annotation choice the category to watermak and click "Send" don't appear.
-
I really need the watermark , but you can modify your mod to :
1. the orginal images not change.
2. Not watermark when upload ( it mean , the images show not watermark).
3.When you click the download button, the images have a watermark send to the users.
Thanks
-
Danke, funzt alles bestens mit 4images 1.7.4 (aber erst nach einigen Schwierigkeiten) :mrgreen:
Man muss beachten:
-eine Schriftart nach Wahl muss auf den Server geuppt werden
-Pfad in der Datei batch_annotate.php muss absolut sein define('ROOT_PATH', '/home/USER/public_html/4images/');
-Im Admin Panel unter Annotation Einstellungen muss bei Annotaion Schriftart /home/USER/public_html/4images/MEINESCHRIFT.ttf (geht auch meineschrift.otf) sein. Also wieder der absolute Pfad zur Schriftart
-Genau dasselbe gilt für das Wasserzeichen Bild (Pfadangabe)
Nun hab ich doch noch ein Problem...
wenn ich ein Bild uploade im ADMINPANEL, so ist stimmt die Schriftgrösse des Wasserzeichens. Lade ich aber auf der Hauptseite ein Bild hoch, so wir die Schrift ganz klein. Unleserlich.
Ich muss dazu sagen, ich hab den Auto image resize on upload installiert.
Wie kann ich das lösen ?
Hab jetz aber auch noch ein Designproblem mit der Batch Annotate, siehe:
-
@mawenzi
der download link schein wieder offline zu sein.
Kannst du das bitte checken?
Danke.
-
@beroshima
... gecheckt ... für mich funktioniert der Download ... ;)
... Bitte ...
-
Das ist schon der link oder http://faces.dalnet.ru/files.php?l=english
Bei mir geht da leider nichts :(
-
Vielen dank. :D
-
How i can add this mod for 4images 1.7.4
-
How i can add this mod for 4images 1.7.4
Error message ? Source ? URL to problem ?
-
this is the first i add this mod for 4images 1.7.4 on localhost but unsucessful, please support me
-
I can help but need to know error message ... what is say for no work ?
-
after add this mod i don't see it work
-
after add this mod i don't see it work
That what I ask ... what it do for don't see work ? Error ? If so, please post.
-
HowTo use ImageMagick (guess it's an bug fix)
-----------------------------------------------------------------
Some people (including myself as well) reported that the ImageMagick module doesn't work for this mod! Well, I searched in the internet and found an additional ImageMagick command to overlay two images. http://www.imagemagick.org/Usage/annotating/#wmark_image (http://www.imagemagick.org/Usage/annotating/#wmark_image)
Instead of using the ImageMagick program called "convert" we'll use the program "composite"!
For me it worked fine! Hope one someone's else page as well! :wink:
PS:
Set the path to ImageMagick in the ControlPanel like :
/usr/bin/
At the moment this fix doesn't support image positioning by pixels! You can just set the position with the horizontal and vertical alignment like:
Vertical: middle
Horizontal: left
Position of the watermark image: In the west of the orig. image
Search for:
}
else {
$ann_box = @getimagesize($ann_embed_image);
$ann_text_width=$ann_box[0]; $ann_text_height=$ann_box[1];
switch ($horisontal) {
case "left" : $h_offset = $ann_left_offset; break;
case "center" : $h_offset = (($isz[0]/2) - ($ann_text_width/2)); break;
case "right" : $h_offset = ($isz[0] - $ann_text_width - $ann_right_offset); break;
}
switch ($vertical) {
case "top" : $v_offset = $ann_top_offset; break;
case "middle" : $v_offset = (($isz[1]/2) - ($ann_text_height/2)); break;
case "bottom" : $v_offset = $isz[1] - $ann_text_height - $ann_bottom_offset; break;
}
Add directly under:
if ($ann_tool == "im"){
if ($horisontal == "left" && $vertical == "top"){
$watermarkImagePos = "NorthWest";
}
if ($horisontal == "left" && $vertical == "middle"){
$watermarkImagePos = "West";
}
if ($horisontal == "left" && $vertical == "bottom"){
$watermarkImagePos = "SouthWest";
}
if ($horisontal == "center" && $vertical == "top"){
$watermarkImagePos = "North";
}
if ($horisontal == "center" && $vertical == "middle"){
$watermarkImagePos = "Center";
}
if ($horisontal == "center" && $vertical == "bottom"){
$watermarkImagePos = "South";
}
if ($horisontal == "right" && $vertical == "top"){
$watermarkImagePos = "NorthEast";
}
if ($horisontal == "right" && $vertical == "middle"){
$watermarkImagePos = "East";
}
if ($horisontal == "right" && $vertical == "bottom"){
$watermarkImagePos = "SouthEast";
}
}
Search for:
if ($ann_tool == "im") {
if ($use_image) {
Replace the $command line, which is directly under the search result, with the following $command
$command = $convert_options['convert_path']."/composite -dissolve $annotation_embed_image_opacity% -gravity $watermarkImagePos \"$ann_embed_image\" \"$ann_src\" \"$ann_dest\"";
-
Hey, the main annotation bit works fine but the "Batch Annotate" PlugIn gives these errors when I try to use it from the Control Panel.
Warning: main(./../admin/admin_global.php) [function.main]: failed to open stream: No such file or directory in /home/messe9/public_html/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/messe9/public_html/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/messe9/public_html/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/messe9/public_html/admin/plugins/batch_annotate.php on line 8
Thanks in advance.
-
Edit define('ROOT_PATH', './../'); line ...
-
I've tried changing it around; nothing worked.. Don't possibly think you could be slightly more specific do you? (As in what to change it to)
-
admin/plugins/batch_annotate.php on line 8
Is say right here. :?
-
What? Do you know what your talking about (No offence...)
-
What? Do you know what your talking about (No offence...)
Is your error message from here:
Warning: main(./../admin/admin_global.php) [function.main]: failed to open stream: No such file or directory in /home/messe9/public_html/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/messe9/public_html/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/messe9/public_html/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/messe9/public_html/admin/plugins/batch_annotate.php on line 8
Question go to you. If can no find line, how can be me no what talk about ? :?
-
I can find the line, if you've actually bothered to read my posts; you'd know I've tried to fix it with no luck.
-
I read. Need modify your ROOT_PATH in batch_annotate.php file.
-
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
What's wrong with it?
-
This might help:
http://www.4homepages.de/forum/index.php?topic=10545.msg55603#msg55603
-
Thanks, that fixed my problem. :)
-
No prob. Next time, please post source error line - fast respawnce. ;)
-
Thank you for this Mod SLL!. It works great. You 've done a really good job here :D
-
sauber, danke! hat gleich beim ersten bzw. zweiten versuch geklappt! // great, worked in first try
ich hatte immer die folgende fehlermeldung, da der pfad zu meinem wasserzeichen-BILD nicht korrekt war und anscheinend nur bilder als wasserzeichen im PNG Format verwendet werden können:
Warning: imagesx(): supplied argument is not a valid Image resource in /homepages/6/d96478316/htdocs/photos/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /homepages/6/d96478316/htdocs/photos/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /homepages/6/d96478316/htdocs/photos/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /homepages/6/d96478316/htdocs/photos/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /homepages/6/d96478316/htdocs/photos/includes/annotate.php on line 186
-
"supplied argument is not a valid....bla bla"
Yes. PHP Developper say: bla bla in server error message. Easy problem for help. :roll:
-
updated ( i couldnt remember the lines)
-
And where file error say foreach line: 175 ?
-
geeze....i just said, that mine was working almost in the first try. i only set the path to my annotation image wrong, so i got these kind of error messages. this is just for ppl who have the same little problem....
-
No say which file is ... how can help if no file say ?
-
i dont need help, cuz it worked right a way
-
And solution for others to fix ?
-
:evil: read the posts! DONT BLAST THIS THREAD MORE THAN NECESSARY!
u have to have the right path to your annotation image / font!
-
u have to have the right path to your annotation image / font!
No say where fix right path - you say just do it.
-
Hi,
erstmal vielen Dank für das Mod.
Installation etc. ohne Zwischenfälle, eigendlich ja auch kein Problem...
Bei mir funktioniert aber nur Batch Annotate, die Automatische Annotation-Funktion beim Upload funktioniert nicht.
Kriege auch keine Fehlermeldung.
Ich kann damit leben, aber es würde mich schon Intressieren woran das liegen könnte?
Viele Grüße,
don
-
i got the same problem:
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /homepages/6/xxx/htdocs/photos/includes/image_utils.php on line 80
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: './../data/media/3/143066_8643.jpg.bak' is not a valid JPEG file in /homepages/6/xxx/htdocs/photos/includes/image_utils.php on line 80
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /homepages/6/d9xxx/htdocs/photos/includes/annotate.php on line 39
Warning: imagecolorresolvealpha(): supplied argument is not a valid Image resource in /homepages/6/xx/htdocs/photos/includes/annotate.php on line 40
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /homepages/6/xxxhtdocs/photos/includes/annotate.php on line 39
Warning: imagecolorresolvealpha(): supplied argument is not a valid Image resource in /homepages/6/xxxhtdocs/photos/includes/annotate.php on line 40
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /homepages/6/dxxx/htdocs/photos/includes/annotate.php on line 186
Warning: imagejpeg(): supplied argument is not a valid Image resource in /homepages/6/dxxx6/htdocs/photos/includes/annotate.php on line 187
Warning: imagedestroy(): supplied argument is not a valid Image resource in /homepages/6/dxxx6/htdocs/photos/includes/annotate.php on line 188
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /homepages/6/xxx/htdocs/photos/includes/image_utils.php on line 80
Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: './../data/media/3/143066_8643.jpg' is not a valid JPEG file in /homepages/6/d96xxxxxxx6/htdocs/photos/includes/image_utils.php on line 80
Working on data/media/3/143066_8643.jpg file:
Copied original file into data/media/3/big/ folder.
Error resizing image.
Error adding annotation in data/media/3/143066_8643.jpg file.
Error creating thumbnail.
Bild erfolgreich hinzugefügt: 143066 8643
-
I have a problem
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 193
Done Done Done
2 honokaasai7 Done Picture is lower than 482x640
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 193
Done Done Done
3 honokaasai6 Done Picture is lower than 501x640
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 193
Done Done Done
4 honokaasai5 Done Picture is lower than 501x640
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 193
Done Done Done
5 honokaasai4 Done Picture is lower than 501x640
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 193
Done Done Done
6 honokaasai3 Done Picture is lower than 501x640
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 193
Done Done Done
7 honokaasai1 Done Picture is lower than 501x640
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 193
Done Done Done
8 honokaasai2 Done Picture is lower than 501x640
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 193
Done Done Done
9 honokaasai Done Picture is lower than 640x480
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/vuong184/public_html/gallery/includes/annotate.php on line 193
Help me fig error.
-
either the path to your font is wrong or u have forgotten to upload it. please post your settings here!
-
This is my setup and link visit my site www.emtoi.info/gallery
(http://thanhniensonla.com/uploads/out.php/i1519_Setupaddtext.JPG)
-
the path to your font is wrong. u need to put in the "FULL PATH" there. open your phpinfo() in ACP (at bottom left) and look for "DOCUMENT_ROOT"
REMOVE UR LINK!!!
-
I get this error when I try and run a batch annotation. The image portion works fine, but I do not understand it.
Annotating between image ID 0 and 1:
Processing image Brandon McAnderson from category Toledo -- 9-15-06, image ID 1 >>
Warning: imagettfbbox(): Could not find/open font in /home/content/w/e/s/weswhite7/html/ku/includes/annotate.php on line 95
Warning: imagettftext(): Could not find/open font in /home/content/w/e/s/weswhite7/html/ku/includes/annotate.php on line 192
Warning: imagettftext(): Could not find/open font in /home/content/w/e/s/weswhite7/html/ku/includes/annotate.php on line 193
OK
Finished!
I know I have the file path for the font right, but I can not figure it out.
-
same here, path is WRONG! post it here or read the instructions!
-
Please post PHP code for where is use for import font ... I check ...
-
I got it working now. I had mistyped one letter in the path. Grr. Works great now. Just go to your phpinfo() in the admin panel and get your home directory path and go from there.
-
I installed the entire script without an issue, the site works, uploads work, but the script is not adding the watermark, no errors.
just doesn't add the watermark. I have full path set to the font. worked a few times, but as i changed settings and kept testing it stopped working
-
Hi,
erstmal vielen Dank für das Mod.
Installation etc. ohne Zwischenfälle, eigendlich ja auch kein Problem...
Bei mir funktioniert aber nur Batch Annotate, die Automatische Annotation-Funktion beim Upload funktioniert nicht.
Kriege auch keine Fehlermeldung.
Ich kann damit leben, aber es würde mich schon Intressieren woran das liegen könnte?
Viele Grüße,
don
hast du bereits eine Lösung gefunden ? Habe dasselbe Problem
-
hallo zusammen,
ich habe folgendes Problem. Und zwar lief alles bisher bei der Installation perfekt. Keinerlei Fehlermeldung o.ä. nur wird jetzt eben beim Upload kein Watermark angezeigt. Egal ob Text oder Bild. GD ist laut phpinfo auch aktiviert. und die Rootpfade zu Bild und Schriftart stimmen auch alle.
Woran kann das denn dann noch liegen. Ich habe auch das Forum hier bis Seite 25 und die letzten 5 gelesen aber kam zu keinem Ergebnis. Auch die Tatsache, dass es nur bei registrierte Usern gehen würde habe ich versucht, mit negativen Ergebnis.
i got the following problem. everything was perfect at the installation, without any error messages. but i want to upload a pic now, nothing happens. no annotations were added. No pic and no text. also the root path is correct and GD is enabled.
i´ve read the pages 1-25 and the last five pages without a result.
can anybody help me ?
Bild habe ich mal angehängt/Pic is attached
-
http://www.4homepages.de/forum/index.php?topic=13719.0
I was try to hack this modmany times but not work
Screen Shoot IN My ACP
(http://worldoflady.com/1.JPG)
(http://worldoflady.com/2.JPG)
(http://worldoflady.com/3.JPG)
(http://worldoflady.com/4.JPG)
And result is not work
Example
http://worldoflady.com/details.php?image_id=494
Help me
Thanks
-
Hi,
first: please post your problem always in the Mod- thread about your problem....
second: i can't see a problem, the watermark is on the bottom of the image, or is this the copyright from the image and not your watermark?
Kurt
-
I don't see my gallery warn error but it not work when i try to make copyright from the image but unsuccessful, hix
-
I was try to hack this modmany times but not work
it's evident... png image set without path at all; font file set by url, but full path has to be set.
-
This is my error after hack this mod
When use batch by images
(http://worldoflady.com/anh.jpg)
When use batch by text
(http://worldoflady.com/test.jpg)
-
Please use this test:
Before installing this MOD!
from 1st post before install this MOD. See black box ?
-
You can view my test link here
http://worldoflady.com/banquyen.php
I test and everything is Ok why it not work
-
Ok so please read my signature for step 6 and post result.
-
Can you hack this mod for 4images1.7.4 and send me source code after you hack this mod,please?
Thanks you? I need this mod very much.
Good luck.
-
Only if answer my post before.
-
I can't answer your question because my skill about web design is very poor ( I only learn web design on the web no in school). If you can let help me,plz. If I can found error I will fix it but I can't found cause why it not work. Thanks you to help me everywhere, everytime in this forum.
Good luck :(
-
In ACP - > phpinfo() - see PHP version and see 4images version on top header of ACP.
-
I Used 4images 1.7.4 and this is the my PHP Info
PHP Version 4.3.11
System FreeBSD hostingprod.com 4.11-YAHOO-20061130 FreeBSD 4.11-YAHOO-20061130 #0: i386
Build Date Sep 22 2005 14:19:27
Configure Command './configure' '--prefix=/usr' '--enable-fastcgi' '--with-config-file-path=/usr/lib/php' '--enable-memory-limit' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-mbstring=all' '--enable-mbregex' '--with-curl' '--with-dom' '--with-dom-xslt' '--with-gdbm' '--with-gettext' '--with-iconv' '--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-tiff-dir' '--with-xpm-dir=/usr/X11R6' '--with-zlib-dir' '--with-ttf' '--with-freetype-dir' '--with-t1lib' '--enable-gd-native-ttf' '--with-mcrypt' '--with-mhash' '--with-mime-magic' '--with-ming' '--with-openssl' '--with-pspell' '--with-regex' '--enable-wddx' '--with-xmlrpc' '--enable-xslt' '--with-xslt-sablot' '--with-zip' '--disable-posix'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/lib/php/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
--------------------------------------------------------------------------------
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags On On
auto_append_file common_footer.inc common_footer.inc
auto_prepend_file common_header.inc common_header.inc
browscap /usr/lib/php/browscap.ini /usr/lib/php/browscap.ini
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions leak, symlink leak, symlink
display_errors Off Off
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log /logs/scripts.log /logs/scripts.log
error_prepend_string no value no value
error_reporting 7 no value
expose_php Off Off
extension_dir /usr/lib/php/extensions /usr/lib/php/extensions
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/include:/usr/lib/php .:/include:/usr/lib/php
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 90 90
max_input_time -1 -1
memory_limit 20M 20M
open_basedir no value no value
output_buffering 1 1
output_handler no value no value
post_max_size 50M 50M
precision 14 14
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir /usr/local/php/bin /usr/local/php/bin
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors On On
unserialize_callback_func no value no value
upload_max_filesize 50M 50M
upload_tmp_dir /tmp /tmp
user_dir no value no value
variables_order no value no value
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
bcmath
BCMath support enabled
calendar
Calendar support enabled
ctype
ctype functions enabled
curl
CURL support enabled
CURL Information libcurl/7.12.0 OpenSSL/0.9.6g zlib/1.1.3
dba
DBA support enabled
Supported handlers gdbm cdb cdb_make inifile flatfile
domxml
DOM/XML enabled
DOM/XML API Version 20020815
libxml Version 20623
HTML Support enabled
XPath Support enabled
XPointer Support enabled
DOM/XSLT enabled
libxslt Version 1.0.29
libxslt compiled against libxml Version 2.5.6
exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.118.2.37 2005/03/22 22:07:03 edink Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
gettext
GetText Support enabled
iconv
iconv support enabled
iconv implementation unknown
iconv library version unknown
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
mbstring
Multibyte Support enabled
Japanese support enabled
Simplified chinese support enabled
Traditional chinese support enabled
Korean support enabled
Russian support enabled
Multibyte (japanese) regex support enabled
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.substitute_character no value no value
mcrypt
mcrypt support enabled
version >= 2.4.x
Supported ciphers arcfour arcfour blowfish-compat blowfish-compat blowfish blowfish cast-128 cast-128 cast-256 cast-256 des des enigma enigma gost gost loki97 loki97 panama panama rc2 rc2 rijndael-128 rijndael-128 rijndael-192 rijndael-192 rijndael-256 rijndael-256 safer-sk128 safer-sk128 safer-sk64 safer-sk64 saferplus saferplus serpent serpent threeway threeway tripledes tripledes twofish twofish wake wake xtea xtea
Supported modes cbc cbc cfb cfb ecb ecb ncfb ncfb nofb nofb ofb ofb stream stream
Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value
mhash
MHASH support Enabled
MHASH API Version 20011020
mime_magic
mime_magic support enabled
Directive Local Value Master Value
mime_magic.magicfile /usr/share/misc/magic.mime /usr/share/misc/magic.mime
ming
Ming SWF output library enabled
Version 0.2a
mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.6b 9 Jul 2001
overload
User-Space Object Overloading Support enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 4.5 01-December-2003
pspell
PSpell Support enabled
session
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name sessionid PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
standard
Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,form=,fieldset= a=href,area=href,frame=src,form=,fieldset=
user_agent no value no value
tokenizer
Tokenizer Support enabled
wddx
WDDX Support enabled
WDDX Session Serializer enabled
xml
XML Support active
XML Namespace Support active
EXPAT Version 1.95.6
xmlrpc
core library version xmlrpc-epi v. 0.51
php extension version 0.51
author Dan Libby
homepage http://xmlrpc-epi.sourceforge.net
open sourced by Epinions.com
xslt
XSLT support enabled
Backend Sablotron
Sablotron Version 1.0.2
Sablotron Information Cflags: -g -O2 Libs: -L/usr/local/lib -liconv -lexpat Prefix: /usr/local
zip
Zip support enabled
zlib
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.3
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
Additional Modules
Module Name
Environment
Variable Value
LD_LIBRARY_PATH /usr/lib
ORD 8
PHP_VERSION no value
MYSQL_HOST mysql-12-3-a
LD_PRELOAD /usr/lib/libygcWrap.so
MYSQL_PORT 14318
PHP_FCGI_CHILDREN 2
REAL_ROOT /
SIG a9HneodiWM7Qc56odd663Q--
PATH /usr/bin:/bin
DOCUMENT_ROOT /
PHP Variables
Variable Value
PHP_SELF /admin/phpinfo.php
_REQUEST["sessionid"] 63726b2b550448aeec8fd3b56c9dbe9c
_REQUEST["4images_lastvisit"] 1192840640
_REQUEST["4images_userid"] 1
_REQUEST["BX"] 5e9sivl3hij9a&b=3&s=8k
_REQUEST["HIM_on_off"] 1
_REQUEST["HIM_method"] 0
_REQUEST["HIM_ckspell"] 1
_REQUEST["HIM_daucu"] 1
_COOKIE["sessionid"] 63726b2b550448aeec8fd3b56c9dbe9c
_COOKIE["4images_lastvisit"] 1192840640
_COOKIE["4images_userid"] 1
_COOKIE["BX"] 5e9sivl3hij9a&b=3&s=8k
_COOKIE["HIM_on_off"] 1
_COOKIE["HIM_method"] 0
_COOKIE["HIM_ckspell"] 1
_COOKIE["HIM_daucu"] 1
_SERVER["FCGI_ROLE"] RESPONDER
_SERVER["HTTP_ACCEPT"] */*
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_COOKIE"] sessionid=63726b2b550448aeec8fd3b56c9dbe9c; 4images_lastvisit=1192840640; 4images_userid=1; BX=5e9sivl3hij9a&b=3&s=8k; HIM_on_off=1; HIM_method=0; HIM_ckspell=1; HIM_daucu=1
_SERVER["HTTP_HOST"] worldoflady.com
_SERVER["HTTP_REFERER"] http://worldoflady.com/admin/index.php?action=nav
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
_SERVER["PATH"] /usr/bin:/bin
_SERVER["REDIRECT_STATUS"] 200
_SERVER["REDIRECT_URL"] /admin/phpinfo.php
_SERVER["REMOTE_ADDR"] 58.186.70.215
_SERVER["REMOTE_PORT"] 38223
_SERVER["SCRIPT_FILENAME"] /admin/phpinfo.php
_SERVER["SCRIPT_URI"] http://worldoflady.com/admin/phpinfo.php
_SERVER["SCRIPT_URL"] /admin/phpinfo.php
_SERVER["SERVER_NAME"] worldoflady.com
_SERVER["SERVER_PORT"] 80
_SERVER["SERVER_SOFTWARE"] Apache/1.3.33 (Unix) FrontPage/5.0.2.2510 mod_fastcgi/2.4.2
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /admin/phpinfo.php
_SERVER["SCRIPT_NAME"] /admin/phpinfo.php
_SERVER["LD_LIBRARY_PATH"] /usr/lib
_SERVER["ORD"] 8
_SERVER["PHP_VERSION"] no value
_SERVER["MYSQL_HOST"] mysql-12-3-a
_SERVER["LD_PRELOAD"] /usr/lib/libygcWrap.so
_SERVER["MYSQL_PORT"] 14318
_SERVER["PHP_FCGI_CHILDREN"] 2
_SERVER["REAL_ROOT"] /
_SERVER["SIG"] a9HneodiWM7Qc56odd663Q--
_SERVER["DOCUMENT_ROOT"] /
_SERVER["PHP_SELF"] /admin/phpinfo.php
_SERVER["argv"] Array
(
)
_SERVER["argc"] 0
_ENV["FCGI_ROLE"] RESPONDER
_ENV["HTTP_ACCEPT"] */*
_ENV["HTTP_ACCEPT_ENCODING"] gzip, deflate
_ENV["HTTP_ACCEPT_LANGUAGE"] en-us
_ENV["HTTP_CONNECTION"] Keep-Alive
_ENV["HTTP_COOKIE"] sessionid=63726b2b550448aeec8fd3b56c9dbe9c; 4images_lastvisit=1192840640; 4images_userid=1; BX=5e9sivl3hij9a&b=3&s=8k; HIM_on_off=1; HIM_method=0; HIM_ckspell=1; HIM_daucu=1
_ENV["HTTP_HOST"] worldoflady.com
_ENV["HTTP_REFERER"] http://worldoflady.com/admin/index.php?action=nav
_ENV["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
_ENV["PATH"] /usr/bin:/bin
_ENV["REDIRECT_STATUS"] 200
_ENV["REDIRECT_URL"] /admin/phpinfo.php
_ENV["REMOTE_ADDR"] 58.186.70.215
_ENV["REMOTE_PORT"] 38223
_ENV["SCRIPT_FILENAME"] /admin/phpinfo.php
_ENV["SCRIPT_URI"] http://worldoflady.com/admin/phpinfo.php
_ENV["SCRIPT_URL"] /admin/phpinfo.php
_ENV["SERVER_NAME"] worldoflady.com
_ENV["SERVER_PORT"] 80
_ENV["SERVER_SOFTWARE"] Apache/1.3.33 (Unix) FrontPage/5.0.2.2510 mod_fastcgi/2.4.2
_ENV["GATEWAY_INTERFACE"] CGI/1.1
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["REQUEST_METHOD"] GET
_ENV["QUERY_STRING"] no value
_ENV["REQUEST_URI"] /admin/phpinfo.php
_ENV["SCRIPT_NAME"] /admin/phpinfo.php
_ENV["LD_LIBRARY_PATH"] /usr/lib
_ENV["ORD"] 8
_ENV["PHP_VERSION"] no value
_ENV["MYSQL_HOST"] mysql-12-3-a
_ENV["LD_PRELOAD"] /usr/lib/libygcWrap.so
_ENV["MYSQL_PORT"] 14318
_ENV["PHP_FCGI_CHILDREN"] 2
_ENV["REAL_ROOT"] /
_ENV["SIG"] a9HneodiWM7Qc56odd663Q--
_ENV["DOCUMENT_ROOT"] /
PHP License
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
Help me hack this mod and send me source after hack mod, thanks you thunderstricke
-
Oh ... this is old spec. 8O :mrgreen:
Upgrade PHP version is 1st solution.
-
Here you see a video tutorial of the installation of this Mod:
http://www.asian-lady.org/tutors/annotation2-mod/annotation2-mod.html
-
I have a problem with this MOD, it doesn't work...
When I try yo use Batch Annotate I get this message:
Warning: require(./../../admin_global.php) [function.require]: failed to open stream: No such file or directory in /www/110mb.com/g/r/u/p/o/s/c/o/gruposcout508/htdocs/4images/admin/plugins/batch_annotate.php on line 8
Warning: require(./../../admin_global.php) [function.require]: failed to open stream: No such file or directory in /www/110mb.com/g/r/u/p/o/s/c/o/gruposcout508/htdocs/4images/admin/plugins/batch_annotate.php on line 8
Fatal error: require() [function.require]: Failed opening required './../../admin_global.php' (include_path='.:/usr/share/php') in /www/110mb.com/g/r/u/p/o/s/c/o/gruposcout508/htdocs/4images/admin/plugins/batch_annotate.php on line 8
And also, when I upload an image, the watermark doesn't appear, and I get another message:
Warning: imagesx(): supplied argument is not a valid Image resource in /www/110mb.com/g/r/u/p/o/s/c/o/gruposcout508/htdocs/4images/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /www/110mb.com/g/r/u/p/o/s/c/o/gruposcout508/htdocs/4images/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /www/110mb.com/g/r/u/p/o/s/c/o/gruposcout508/htdocs/4images/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /www/110mb.com/g/r/u/p/o/s/c/o/gruposcout508/htdocs/4images/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /www/110mb.com/g/r/u/p/o/s/c/o/gruposcout508/htdocs/4images/includes/annotate.php on line 186
Here you got a Screen of my annotation configuration:
(http://img84.imageshack.us/img84/6668/annotationrl8.th.jpg) (http://img84.imageshack.us/img84/6668/annotationrl8.jpg)
My watermark adress is: http://gruposcout508.com.ar/navegacion/4images/watermark.png (http://gruposcout508.com.ar/navegacion/4images/watermark.png), you can try it, and you will see that the image is in that location.
Thanks in advance!
PD: Sorry for my poor english...
-
Hi.Good night. I have problem;
Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/.nola/djdamar/oresim.com/admin/plugins/batch_annotate.php on line 8
Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/.nola/djdamar/oresim.com/admin/plugins/batch_annotate.php on line 8
what is a problem ?
-
I'm sorry Idon't search :roll:
-
Problem solved.
Thanks.
-
If I save a jpeg file with a graphic software , the pic is for exemple 100kb.
If I upload this picture to 4images galery with the upload module, the picture is about 250 kb !! (its written in the pic info on the galery and also if I take a look on file size with my ftp soft)
It's amazing! I don't think this problem existed before.
What do you think it could be done to solve this?? :(
-
hi,
pls. show us this and a test account for download possibility
thx
-
ok
http://world99.free.fr
test account :
login : 4images
pass : 4images
I created the category named "TEST CATEGORY"
-
hi..
you are using something with GD at upload..
http://www.nicky.net/HarleyDavidson-Ifugao.jpg (ORIGINAL File with EXIF tags)
on your server http://world99.free.fr/data/media/29/HarleyDavidson-Ifugao.jpg (EXIF is removed at upload and file is tripple sized in kb)
[edit]
watermark at upload i think
-
hello Nicky!
-yes i USE gd BIBLIOTEK option in config panel
-i removed exif info
-Can you tell me why file is tripple sized in kb ?? :?
-
watermark at upload
picture will be manipulated by this mod > http://www.4homepages.de/forum/index.php?topic=13719.0
[edit]
okay i merged this 2 threads
-
You should set this "Resulting image quality (in per cent)" in "Annotation Settings" to around 75 - 80. This will fix.
-
Hi orb4,
i miss on your page:
http://world99.free.fr (http://world99.free.fr)
the copyright from the template owner...
Have you bought it?
KurtW
-
Hi Kurt,you can sleep on both ears now. Cright is ok.
You should set this "Resulting image quality (in per cent)" in "Annotation Settings" to around 75 - 80. This will fix.
Thank you for the idea lqbaoanh.
So I made a test with 3 pics uploaded (3 different sizes) and with different "Resulting image quality" in % :
PIC 1: original Size= 10 kb -------------- with "Resulting image quality"= 100%------------ Size after upload=48,4kb
PIC 1: original Size= 10 kb -------------- with "Resulting image quality"= 25%------------ Size after upload=10,7kb
PIC 2: original Size= 98 kb -------------- with "Resulting image quality"= 100%------------ Size after upload=133kb
PIC 2: original Size= 98 kb -------------- with "Resulting image quality"= 98%------------ Size after upload= 73kb
PIC 3: original Size=200 kb -------------- with "Resulting image quality"= 100%------------ Size after upload=358kb
PIC 3: original Size=200 kb -------------- with "Resulting image quality"= 95%------------ Size after upload= 197kb
you can see that I cannot set "Resulting image quality" in only one paramater. It depends on each pic size.
maybe i can supress this "Resulting image quality" option in Watermark mod. But I do nnot really know how to...any ideas?
-
Hello,
I would like to remove the "Resulting image quality" function that compress pic at upload.
I tried to but I got problems to solve it.
Ive tried to remove all thes lines below, or tried leave some functions, but I always got the same problem at the upload:
If pic got the right size, there is not the watermark on, or the contrary
PLEASE HELP ME thank you.
-------------------------------------------
OPEN admin/ann_settings.php
-------------------------------------------
LINE 180: remove
show_setting_row("annotation_image_quality");
-------------------------------------------
OPEN includes/annotate.php
-------------------------------------------
LINE 54:
$ann_image_quality = $config['annotation_image_quality'];
LINE 145 :
$command = $convert_options['convert_path']." -quality ".$ann_image_quality." -draw \"image CopyOpacity $h_offset,$v_offset 0,0 $ann_embed_image\" \"$ann_src\" \"$ann_dest\"";
LINE 150 :
$command = $convert_options['convert_path']." -quality ".$ann_image_quality." -antialias -density 90 -font '$ann_font_path' -fill '$ann_fill_color' -pointsize $ann_font_size -draw \"text $h_offset,$v_offset '$ann_text'\" \"$ann_src\" \"$ann_dest\"";
LINE 160 :
$command = $convert_options['convert_path']." -quality ".$ann_image_quality." -antialias -density 90 -font '$ann_font_path' -fill '$ann_fill_color' -pointsize $ann_font_size -draw \"text $h_offset,$v_offset '$ann_text'\" \"$file_shd\" \"$ann_dest\"";
LINE 209 :
$command .= $convert_options['convert_path']."/pnmtojpeg -quiet -quality=".$ann_image_quality." -optimize > ".$ann_dest;
LINE 224 :
$command .= $convert_options['convert_path']."/pnmtojpeg -quiet -quality=".$ann_image_quality." -optimize > ".$ann_dest;
-
you do not have to remove anything but -quality ".$ann_image_quality." from each line you find it
thought, i would not recomment to remove it, learn a bit about jpeg compression, set the quality to 70-80% and relax :D
-
Hi SLL,
I've done what you told:
-------------------------------------------
OPEN admin/ann_settings.php
-------------------------------------------
LINE 180: remove
show_setting_row("annotation_image_quality");
-------------------------------------------
OPEN includes/annotate.php
-------------------------------------------
remove : -quality ".$ann_image_quality." in
LINE 145:
$command = $convert_options['convert_path']." -quality ".$ann_image_quality." -draw \"image CopyOpacity $h_offset,$v_offset 0,0 $ann_embed_image\" \"$ann_src\" \"$ann_dest\"";
LINE 150:
$command = $convert_options['convert_path']." -quality ".$ann_image_quality." -antialias -density 90 -font '$ann_font_path' -fill '$ann_fill_color' -pointsize $ann_font_size -draw \"text $h_offset,$v_offset '$ann_text'\" \"$ann_src\" \"$ann_dest\"";
LINE 160:
$command = $convert_options['convert_path']." -quality ".$ann_image_quality." -antialias -density 90 -font '$ann_font_path' -fill '$ann_fill_color' -pointsize $ann_font_size -draw \"text $h_offset,$v_offset '$ann_text'\" \"$file_shd\" \"$ann_dest\"";
---------------------------
But pic size is 98ko and once it is uploaded it is 50ko. What's wrong with this?
-
But pic size is 98ko and once it is uploaded it is 50ko. What's wrong with this?
just nothing wrong with it :lol: are you always reading only first line of message? :roll:
-
ok, no stress for me, but is there a way to fix this to get exact pic size info at upload? Is it even possible ? (dont tell me to remove watermark mod to please :))
-
ok, no stress for me, but is there a way to fix this to get exact pic size info at upload? Is it even possible ? (dont tell me to remove watermark mod to please :))
yeeeah!! just remove watermark mod, and you pics will stay intact! :P
actually, you are combining two pics together - original, and another one with text... then why the hell the final image size should be the same as original???
-
only because uploaded pics size is almost double sized. it is not very significative in little sizes but imagine you got a 1mo pic, at upload it is almost 2Mo for a 70-80%.
But even if it is a really good mod, thanks to you, i'm gonna stop here and try instead of a watermark software.
ciao.
-
this "double sized" has nothing to do with the mod, this is just the way gd lib is handling your image. the only parameter responsible for this is "quality", which is image compression ratio. i have no idea, if there's any possibility to obtain the original image compression value and set output the same on fly. honestly, i doubt it.
-
hi,
I got another problem:
when I upload a pic , after I can see the watermark.
But if I edit the pic and reupload it (with browse button) there is no watermark after !
If I edit this pic changing name, description, etc, after the watermark is still present.
normally does watermark works on "edit /re upload pic" ?
-
I check in annotate.php file. No code for say if file exist or no exist. Is problem for re-upload file with edit. ;)
-
I check in annotate.php file. No code for say if file exist or no exist. Is problem for re-upload file with edit. ;)
What do you mean??
Should I consider that my problem here could be solved by developping the corresponding "coding" so that watermark show correctly on re-uploaded pics?
can you confirm it is a "bug"?
-
can you confirm it is a "bug"?
Is no bug. Is a miss-routine check. ;)
-
On my own I don't really know how to introduce this new part of code in annotate.php and in another files and in database?
Which files must be modified? : only annotate.php?
-
UP ! could SLL or anyone give support for my question please?
-
orb4, i don't get your question...
hi,
I got another problem:
when I upload a pic , after I can see the watermark.
But if I edit the pic and reupload it (with browse button) there is no watermark after !
If I edit this pic changing name, description, etc, after the watermark is still present.
normally does watermark works on "edit /re upload pic" ?
i don't know what do you mean.. please show examples
-
Hello Nicky :D
my problem is:
if I EDIT an uploaded pic and REUPLOAD it (with browse button) there is no more watermark after !
in annotate.php file there is no code that says if file exists or no exists.
I'm not good enought at php to write this patch and fix this mis-routine by myself. Please I ask for your support.
Which files must be modified? : only annotate.php?
-
Hello Nicky :D
my problem is:
if I EDIT an uploaded pic and REUPLOAD it (with browse button) there is no more watermark after !
I'm not good enought at php to write this patch and fix this mis-routine by myself. Please I ask for your support.
Which files must be modified? : only annotate.php?
i do not understand this..
WHERE and HOW are you editing your picture? on your PC?
and are you REuploading this picture to your gallery again?
i'm little bit confused...
show me example on your site.
-
if I upload a pic to the gallery i can see the watermark on it, ok.
If I go the details page of the pic and EDIT the pic, if I REUPLOAD the pic from my computer (same pic size) there is no more watermark after !
do you understand now?
-
okay.. i understand now.
in admin area you reuploading the picture.
normal user can't reupload
maybe SSL can help
-
Here's what I get when I try to run the batch annotate:
No category selected, nothing to annotate.
I think it's an error in the dropdown menu, does anyone have a fix for this?
-
Would there be anyway to set it so It doesn't watermark images under a certain size? I don't wanna watermark small images.
-
hello ich bekom immer diesen fehler
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /var/www/web12/html/love/gallerie2/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /var/www/web12/html/love/gallerie2/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /var/www/web12/html/love/gallerie2/includes/annotate.php on line 193
wenn ich versuch ein bild hochzuladen hab alles nach der anleitung gemacht
##############################################
Hi, I always get these errors
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /var/www/web12/html/love/gallerie2/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /var/www/web12/html/love/gallerie2/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /var/www/web12/html/love/gallerie2/includes/annotate.php on line 193
When I try to upload a picture did everything according to the instructions made
-
... der Pfad zu deinem Font stimmt offensichtlich nicht ...
-
... der Pfad zu deinem Font stimmt offensichtlich nicht ...
man bin ich doof
ich danke dir für deine schnelle hilfe nun klappt es.
-
man bin ich doof
... :mrgreen: ...
-
Hello
i have install this mod and have a question,in my admin site when i push on "batsh annotate" i dont se anything only a white screen ?
anyone so have a answer for that thanks for any help
Svenni
-
Hi,
I've installed this mod right according to the install file and now when I go to ACP and click on Batch Annotate I get the following error:
Warning: main(./../admin/admin_global.php) [function.main]: failed to open stream: No such file or directory in /home/gruposti/public_html/eurotrucks/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/gruposti/public_html/eurotrucks/admin/plugins/batch_annotate.php on line 8
Fatal error: main() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home/gruposti/public_html/eurotrucks/admin/plugins/batch_annotate.php on line 8
Any advice?
Thanks in advance,
-
hello, i get the same error as well.
Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/diamond1/public_html/dan/rofl/admin/plugins/batch_annotate.php on line 8
Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/diamond1/public_html/dan/rofl/admin/plugins/batch_annotate.php on line 8
any helps?
-
HI All,
I have installed this MOD long back and it was working fine .. :D , but now onwards its not working ... I don't know what is the problem ? Can anyone help me on this ?
Thanks.
-
i installed it and i went to the admin cp i click on batch_annotate.php I get the following error:
Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/nuvanda/public_html/deneme/admin/plugins/batch_annotate.php on line 8
Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/nuvanda/public_html/deneme/admin/plugins/batch_annotate.php on line 8
Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nuvanda/public_html/deneme/admin/plugins/batch_annotate.php on line 8
why? what can i do?
-
hi,
change in batch_annonate.php
line
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
to
$root_path = (!eregi("\/plugins\/", $_SERVER['PHP_SELF'])) ? "./../" : "./../../";
working now?
-
thanks a lot ıts working but the writing is not on the image :(
-
hmm.... i tryied at member upload.. it works...
from admin cp want work.... :(
i will look on it as soon as possible
-
hmm.... i tryied at member upload.. it works...
from admin cp want work.... :(
i will look on it as soon as possible
thanks Nicky for your messages i hope i will look it .. i like 4 images :)
-
Hi,
How can i change the setting in Annotation MOD ( WaterMark ) to annotate the username in arabic
its only support the english
-
Hi,
Use Google Tranlation English Arabic
-
Sorry nobby
and im not sure if you got me right or not !
what i mean, when i want to add my site on the image * annotate the image * the mod doesn;t support arabic language
example:
i want to stamp my image
www.143.ae <== english
منتديات 143 <== arabic ( this not appear correct in arabic )
and thanks alot for ur try
believe me a appreciate ur try :)
-
@Mr_LovaLove
... and why you don't post your problem in the thread of MOD] Image Annotations (Watermark) ...
... not often, but sometimes SLL answered questions to his MOD ...
... and he is the man for your questions ...
-
mawenzi is right. I merged the two topics.
Please always ask your questions in the related mod thread.
-
thanks guyz for the merging
thought
it will be easy if i posted alone
-
what i mean, when i want to add my site on the image * annotate the image * the mod doesn;t support arabic language
this is nothing to do with the mod, actually... you should check your server and php settings, how they are supporting arabic language and fonts. on my site it works with russian fonts (cp1251) without any problem.
-
Hab den Mod installiert und das ganze funktioniert soweit auch. Allerdings kommt das Wasserzeichen nur auf das Detail Bild. Was muss man ändern damit auch das Thumb mit dem Wasserzeichen ausgestattet wird?
Danke für die Hilfe ...
-
Hat keiner eine Idee?
-
... diese Modifikation ist nur für ein "Watermark" auf den Originalbildern vorgesehen und macht m.E. auch nur dort einen Sinn ...
... wolltest du nun noch ein "Watermark" auf den Thumbnails, so müsstest du etwas tiefer in den Code einsteigen und dort Änderungen vornehmen ...
... nur mit Einstellungen über das ACP ist das nicht zu erledigen ...
-
Hat sich erledigt. Habs hinbekommen.
-
Annotating between image ID 187 and 187:
Processing image hasan dağı from category Sizde Örnek Göndermek İstermisiniz?, image ID 187 >>
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/elemminf/domains/*****public_html/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/elemminf/domains/******/public_html/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/elemminf/domains/*****/public_html/includes/annotate.php on line 193
OK
Finished!
[Back]
help please:(
-
help please:(
The Script "Could not find/open" the font.
-
thanks ;)
this admin panel settings font adres edit
not proplem;)
happyy;)
-
hi all :)
http://www.4homepages.de/forum/index.php?topic=13719.0
i edit Mod] Image Annotation (Watermark)
.i have a problem.i when i uploaded a image :
Fatal error: Call to undefined function ImageTTFBBox() in /home/nuvanda/public_html/includes/annotate.php on line 95
my font : /public_html/captcha/fonts/arial.ttf
help me please. i don't upload images : http://www.nuvanda.net/member.php?action=uploadform&cat_id=2
-
try to set font path (sorry i can't remember how to setup it correct)
with
/home/nuvanda/public_html/captcha/fonts/arial.ttf
are you using netpbm?
-
try to set font path (sorry i can't remember how to setup it correct)
with
/home/nuvanda/public_html/captcha/fonts/arial.ttf
are you using netpbm?
i changed this :
/home/nuvanda/public_html/captcha/fonts/arial.ttf but it is not using what can i do?
-
A video tutorial for this mod can be found here:
http://www.asian-lady.org/tutors/annotation2-mod/annotation2-mod.html
-
Hello!
How automatic stamp watermark in thumbnails ? Full photo is okey stamping watermark.....
-
http://www.4homepages.de/forum/index.php?topic=13719.msg114778;topicseen#msg114778
-
Is there a solution for this problem?
No category selected, nothing to annotate...
Finished!
Thanks
Outek
-
How annotate thumbnails? Please MOD code...
-
... what size have your thumbnails and what size has your annotation ... ?
... it make not sense to annotate thumbnails 100 x 75 px ...
... besides ... http://www.4homepages.de/forum/index.php?topic=13719.msg114778;topicseen#msg114778 ...
-
It's annoying to select id numbers each time to annotate the images because the ID numbers of the images in each category are not in sequence (1,2,3,4). It's all random because images were added at different time.
Is there a hack to this mod that would let me annotate all images found in category?
thanks
working now
-
Ist es auch möglich das die PNG Bilder auch ohne ImageMagick oder GD transparent dargestellt werden?
-
It works great after some trial-n-errors. Thanks for the great mod! :mrgreen:
-
Hi there!
I installed the Annotation Mod in my gallery, but i'm having some issues, when running the command "batch annotate".
It shows me for every image the following error-lines:
Warning: imagesx(): supplied argument is not a valid Image resource in /www/htdocs/w0080277/public_html/galerie/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /www/htdocs/w0080277/public_html/galerie/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /www/htdocs/w0080277/public_html/galerie/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /www/htdocs/w0080277/public_html/galerie/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /www/htdocs/w0080277/public_html/galerie/includes/annotate.php on line 186
OK
I have no idea, what to do now? I also tried the forum search, but just got a solved topic, but no post about HOW it was solved.
:?
-
Ist es auch möglich das die PNG Bilder auch ohne ImageMagick oder GD transparent dargestellt werden?
:lol: 8)
-
Please, does nobody have an idea? I think i did every installation step right :(
-
Please, does nobody have an idea? I think i did every installation step right :(
Start from scratch and follow each steps carefully. See if you get the same error at the end. When ever I get an error, I start from scratch again and errors don't show up after. Goodluck with solving the problem.
-
i did this already several times, but nothing changed...failure still appears :|
-
hi,
i would like to know...
are there file names with starting as example
.file.jpg
and are all folders chmod-ed correct?
-
I couldn't find any files, starting with a . at the beginning of the filename.
In the installation-manual is nothing said about any chmod changes, but i have nearly all folders at "777" now.
-
I've just installed the annotation mod, but it only works when a member uploads an image. When I upload one from the admin panel, it doesn't get an watermark...
My site is: http://www.musicpics.net
-
hi
i setted up this plugin without an error. but it doesnt work. my settings are on the picture. pls help
the picture is here (http://img99.imageshack.us/img99/7722/clipboard01lf1.jpg).
-
Also irgendwie klappt es bei mir nicht - krieg das mit "Spezifizieren Sie PNG voller Path und Dateiname" einfach nicht auf die Reihe...
-
hi,
change in batch_annonate.php
line
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
to
$root_path = (!eregi("\/plugins\/", $_SERVER['PHP_SELF'])) ? "./../" : "./../../";
working now?
Not for me :(
-
Hi, ich habe diesen Mod installiert.
Klappt auch wunderbar ... ABER die EXIF-Infos gehen verloren!
UND: damit die Bilder keine Qualitätsverluste erleiden, habe ich die Qualität auf 100% (nach "Watermarking") gestellt. Damit werden sie aber fast doppelt so gross.
Kann man in den 2 Punkten etwas tun?
Gruss
Holger
-
Hallo Holger
zu 1. Deine Feststellung ist richtig, mit dem Watermark gehen die EXIF- / IPTC-Infos in dem Bild verloren. Das ist etwa genauso, als ob du das Bild mit einer (na sagen wir mal nicht ganz so grandiosen) Bildbearbeitungs-Software bearbeitet und abgespeichert hättest.
Alternativen dazu, um die EXIF-/IPTC-Infos trotzdem anzeigen zu können, wären z.B. :
- die Original-Bilddatei beim Upload auch mit abzuspeichern ( Stichwort: Big Folder ), diese dann z.B. auch zum Download anzubieten b.z.w. im neuen Fenster zeigen, aber vor allem dann dort die EXIF-/IPTC-Infos auslesen ( Stichwort : One Image - Three Sizes ) ...
- die EXIF-/IPTC-Infos beim Upload in die DB schreiben und dann von dort auslesen ( Stichwort : Exif V.1.7.6 )
- bei beiden Varianten gehen aber nach wie vor beim Watermark die Infos im gemarkten Bild verloren !
zu 2. jpg ist bereits ein komprimiertes Bildformat ! Bilder, die du auf deine Seite hochlädst waren vorher auch bereits komprimiert ( entweder aus der Kamera oder einem Bildbearbeitungsprogramm ) ! Wenn du nun bei den Watermark-Einstellungen eine Bildqualität von 85% angibst, so hast du relativ schlanke Bilddateien und eine gute Optik . Das sollte so passen ...
-
Hallo und vielen Dank für die Antwort!
- bei beiden Varianten gehen aber nach wie vor beim Watermark die Infos verloren !
Damit meinst Du dass die Infos IN DER BILD-DATEI verloren gehen. Oder?
Weil, wenn
- die EXIF-/IPTC-Infos beim Upload in die DB schreiben und dann von dort auslesen ( Stichwort : Exif V.1.7.6 )
verwendet wird, dann kann ich sie ja noch anzeigen. Oder?
Gruss
Holger
-
... Oder? ...
... ja ... ( im gemarkten Bild - hatte ich noch hinzugefügt ... ;) )
... denn Sinn und Zweck der beiden genannten Varianten ist es ja, trotz der im gemarkten Bild verloren gegangenen EXIF-/IPTC-Infos diese auf der Detailseite anzeigen zu lassen ...
... beide Varianten funktionieren ... perfekt ...
-
Danke! :D
-
Danke! :D
... na dafür klimpert man doch gerne auf der Tastatur rum ( zumal es nicht mehr allgemein usus zu sein scheint ) ...
-
Ihr macht hier einen Bombenjob finde ich!
(Bin selber Supporter in der schwedischen phpBB-Gruppe.)
-
Sorry for my bad English.
I installed the mod in the 1.7.6 4images version. Into the administracion panel I get the plugin link, but when I click on it, shows me a blank page empty.
I have reviewed the installation, and everything is correct.
Can you help me please?
Thank you
-
in global.php find:
error_reporting(E_ERROR | E_WARNING | E_PARSE);
Insert below:error_reporting(E_ALL);
@ini_set("display_errors", 1);
Then try open annotation links in ACP, see if any errors shows.
(after you are done, remove these changes)
-
Hi...
I've installed this mod... and it works... if I only send one photo!!!
In multiupload it doesn't work!!! I get this error...
"Fatal error: Cannot redeclare ann_rename() (previously declared in /****/****/public_html/****/****/includes/annotate.php:9) in /****/****/public_html/****/****/includes/annotate.php on line 9"
and line 9 has this function...
function ann_rename($old, $new){
$oldWD = getcwd();
chdir(realpath(dirname($old)));
$ok = (rename(basename($old), basename($new))) ? 1 : 0;
chdir($oldWD);
return $ok;
}
Can anyone help me??? Please...
-
I've installed this mod... and it works... if I only send one photo!!!
In multiupload it doesn't work!!! I get this error...
Try this:
in includes/annotate.php find:
function ann_rename($old, $new){
Insert ABOVE:
if (function_exists("ann_rename")) return;
-
in global.php find:
error_reporting(E_ERROR | E_WARNING | E_PARSE);
Insert below:error_reporting(E_ALL);
@ini_set("display_errors", 1);
Then try open annotation links in ACP, see if any errors shows.
(after you are done, remove these changes)
I already tried, but it not show errors
-
can you create an admin account and pm me with the login info?
-
Thanks V@no... :D
It works perfectly!!!
-
can you create an admin account and pm me with the login info?
Sorry, I'm testing at local levels. There is no external access.
The fact is that if I write the path migaleria/admin/plugins/batch_annotate.php, it charge anything (blank)
-
In files in plugins folder replace:
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
with:
$root_path ="./../../";
-
OK !!!, Now it shows batch_annotate file !!!. But, how do I set the text of the watermark?
Thanks, thanks, thanks
-
in the settings I think
-
Thanks you for the help.
I had forgotten the ; character in index line "show_nav_option ($ lang [ 'nav_ann_settings']....", which is why it didn't resolve the settings options. :oops:
I tried everything, and it works OK.
A very big kiss !!! :D
-
Hi,
I have been using this MOD for a long time without any problem, now also its working fine :). But I just noticed one thing.. before annotation if the image size is 50 KB, after annotation its new size is 250KB.. In general . the image size is increasing after we annotation of the images.
Is this a normal thing ?? can we do something to stop this ??
-
set lower quality...
-
Hi,
Is there anyway .. we can annotate or water mark the image on-fly at the time of display only .. instead of adding water mark in the original images ?
Thanks,
-
i have problem with this annotate mod.
it's shown error when i tried to add new images.
Warning: imagettfbbox() [function.imagettfbbox]: Invalid font filename in /home1/chuahuon/public_html/hinhanh/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Invalid font filename in /home1/chuahuon/public_html/hinhanh/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Invalid font filename in /home1/chuahuon/public_html/hinhanh/includes/annotate.php on line 193
Working on data/media/4/DSC00006_2.JPG file:
Copied original file into data/media/4/big/ folder.
Image resized.
Added annotation in data/media/4/DSC00006_2.JPG file.
Created thumbnail.
Image added: DSC00006 2
so it actually added the images but then show showing error like that and the watermark are not working.. please help.
-
Did you upload font file(s), checked permissions on it and set correct path+filename to it in the settings?
-
hi there... i did check everything... all the fonts are in the /public_html/hinhanh/captcha/fonts
i setted the path in the setting like this /public_html/hinhanh/captcha/fonts/arial.ttf but still showing same error... what permission should i set and please show me where because there is no instruction on it. please help.
thanks
-
set permissions on font files to CHMOD 666 if that doesn't help, try set to 777
and exactly is the font path you set in the settings?
-
yes 666 works.
thanks
-
Warning: rename(popup_03_3.jpg,popup_03_3.jpg.shd) [function.rename]: No such file or directory in E:\AppServ\www\media\includes\annotate.php on line 12
install Ajax imageshow in detailsview successfull but error MOD annotate by SLL
Help me !
-
Hallo,
Ich habe den MOD Annotation installiert. Er funktioniert auch. Leider hat mein Thumbnail auch das Wasserzeichen. Das Wasserzeichen wird anscheinend vor der Thumbnail-Erstellung eingebaut. Gibts hier für eine Lösung wie ich das ändern kann?
Wenn ich die Bilder durch "Neue Bilder checken" hochlade wird am Ende folgende Meldung gezeigt:
Working on data/media/2/GDT21-CB008578.jpg file:
Copied original file into data/media/2/download/ folder.
Image resized.
Added annotation in data/media/2/GDT21-CB008578.jpg file.
Created thumbnail.
Bild erfolgreich hinzugefügt: Bechstein-Fledermaus
Hier steht auch das Einfügen des Wasserzeichens vor der Erstellung der Thumbnails.
I upload my images with "check new images". The annotation are in my thumbnails too. How can I change this?
Gruß
Carsten
-
Hallo ich habe auch ein Problem.
Erstens ist teilweise bei manchen Bildern das Wasserzeichen nicht drauf. Keine Ahnung warum.
Dann habe ich aus versehen mal eine Datei gelöscht. Jetzt habe ich im Adminbereicht nicht mehr den Menüpunkt "Annotation" und kann somit die Schrift nicht mehr ändern. Kann mir einer sagen wie ich das wieder hin gekomme dass ich das Wasserzeichen ändern kann?
Danke Gruß Christian
-
Ich lade die Bilder via FTP direkt in den entsprechenden Ordner für die Kategorie.
Ich wollte alles von vorne machen, aber bei der INSTALL bringt er ne Fehlermeldung weil in der Datenbank die Einträge schon vorhanden sind. Ich will nicht alles löschen, weil sonst alles andere auch gelöscht ist. Welcher Eintrag spezielle dafür ist, weiß ich leider nicht :-(
Gruß Christian
-
i am getting this error
No category selected, nothing to annotate...
i slect catagory and wite Id etc
but still getting the error :(
-
I upload my images with "check new images". Everything is okay, but the annotation are in my thumbnails too. How can I change this?
Does someone know in which files is the mistake?`I check the modification of the annotation 10 times and anything ist right. Have someone an idea?
Thanks!
-
Ich gehe jetzt davon aus, dass das Fehlen des Wasserzeichens (nur ab und zu) auf ein "zu schmales" Bildes zurück zu führen ist. Weiß dau jemand was genaueres?
Gruß Christian
-
Ich gehe jetzt davon aus, dass das Fehlen des Wasserzeichens (nur ab und zu) auf ein "zu schmales" Bildes zurück zu führen ist. Weiß dau jemand was genaueres?
Ja, wenn das Wasserzeichen größer ist als wie die Bildbreite dann wird es nicht gesetzt. Ist bei mir auch so, ich binde allerdings nur Text ein, keine Grafik.
-
Ich binde auch nur Text ein, trotzdem besteht das Problem.
Hat jemand ne Möglichkeit, dass man das Prozentual regelt?
Gruß Christian
-
Da hilft wohl nur den Text zu kürzen oder den Schriftsatz zu verkleinern.
-
Schade und 80% von Bild zu machen als Breite funktioniert nicht?!
Gruß
-
Habe ich bisher jedenfalls nicht gefunden, bzw. hinbekommen.
-
Dann muss ich wohl wirklich die Schrift kürzer machen. Sonst muss ich immer nachschauen ob es drauf ist, das ist ja auch doof.
Trotzdem danke für die Antwort.
Gruß Christian
-
Hello,
I have installed this MOD image annotation
It works exactly fine in the localhost
But when it uploads to the server it gives this error! :roll:
PlugIns -> Batch Annotate
Warning: require(./../admin/admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/content/z/e/r/mylogginname/html/admin/plugins/batch_annotate.php on line 8
Fatal error: require() [function.require]: Failed opening required './../admin/admin_global.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/z/e/r/mylogginname/html/admin/plugins/batch_annotate.php on line 8
I have upload the exact files that work on the localhost.
and i have test the GD support on the server. - GD Freetype test. - It is also working
and my batch_annotate.php is looks like this.
<?php // PLUGIN_TITLE: Batch Annotate - Line1
$nozip = 1; #line2
define('IN_CP', 1);
$root_path = (eregi("\/plugins\/", $PHP_SELF)) ? "./../../" : "./../";
define('ROOT_PATH', $root_path);
define('MEDIA_DIR', 'data/media');
define('MEDIA_PATH', ROOT_PATH.MEDIA_DIR);
require(ROOT_PATH.'admin/admin_global.php'); #line8
require(ROOT_PATH.'includes/annotate.php');
if ($action == "") {
$action = "intro";
}
any idea whats wrong in this!
-
Hello and welcome to 4images forum.
This error came up so often, that I think it's time do something about it.
I've updated original post with instructions how to solve it:
http://www.4homepages.de/forum/index.php?topic=13719.msg15609#post_error
-
Hallo zusammen,
wegen eines neues Websapces musste ich jetzt meine Gallery komplett neu machen. Leider kamen damich auch die Probleme. Ich wollte den annotation-mod wieder installieren, aber leider kommt die alt bekannte Fehlermeldung. Ich habe auch schon nach sämtlichen Dingen in der Suche veruscht, aber leider hat nichts funktioniert :-(
Mit ttf, ohne ttf. Mit "/", ohne. Und so weiter uns sofort. Kann mir noch jemand n Tipp geben, an was es liegen kann? Ich mache jetzt schon über ne Stunde an dem Teil rum und verzweifle bald. Muss ich extra was mit der der GD Bilbliothek machen? Muss da was installiert werden?
Gruß Christian
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /var/www/vhosts/christian-blesinger.com/httpdocs/gallery/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /var/www/vhosts/christian-blesinger.com/httpdocs/gallery/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /var/www/vhosts/christian-blesinger.com/httpdocs/gallery/includes/annotate.php on line 193
Working on data/media/2/20081226_blesinger_bl_033.JPG file:
Copied original file into data/media/2/big/ folder.
Image resized.
Added annotation in data/media/2/20081226_blesinger_bl_033.JPG file.
Created thumbnail.
Bild erfolgreich hinzugef�gt: ASV Durlach - Offenburger FV
-
upload arial.ttf file from your C:\Windows\Fonts into root of your gallery, make sure it's CHMOD 755, then set font path in the Annotation Settings to:
/var/www/vhosts/christian-blesinger.com/httpdocs/gallery/arial.ttf
-
Super, ich weiß nicht ob es an der Berechtigung oder am Pfad lag, aber funktioniert. Super danke.
Great ,thank you. It works.
-
Hallo!
Is it possible to make an annotation on a jpg-file with a transparent watermark-image (e.g. gif or png) but without an background color ("Embedded image background color to set as a transparent").
I use the GD.
Ist es möglich ein transparentes Wasserzeichen-Bild (z.B. gif oder png Datei) bei einem jpg-Bild einzufügen, aber ohne eine Hintergrundfarbe ("Eingebettete Bildhintergrundfarbe, zum als transparentes einzustellen").
Ich benütze GD Bibliothek.
Momentan gibt es bei mir ein halbtransparentes Rechteck (mit der eingestellten Farbe) im Hintergrund von dem Wasserzeichen bei jedem Bild.
Es sollte so sein, wie bei einem Text-Wasserzeichen (> der Hintergrund beim Text ist vollständig Transparent)!
Thanks & greetings.
-
Hallo
wenn ich mehrere Bilder hochladen will kommt dieser Fehler
Fatal error: Cannot redeclare ann_rename() (previously declared in /www/htdocs/......../4images/includes/annotate.php:9) in /www/htdocs/w005dc89/4images/includes/annotate.php on line 9
Kann mir da einer helfen, habe dazu schon was gefunden hier im forum hat aber auch nicht gefunzt!
Gruß Christian
-
Only image annotation works. I'm using 4images 1.7.6
I've tryed increasing text size, seting 0 transparency, no shadow. Doesn't work. Also batch module isn't showing anny settings in its dedicated page.
I'm 100% sure font path is corect.
Although these don't harm my needs, there is one problem that bothers me...
I have also installed autoresize on upload mod (http://www.4homepages.de/forum/index.php?topic=7700.0) and it looks like the annotation happens first and then the autoresize.
I mention that in annotation settings it tells me:
Annotation Settings [ GD is set as an image conversion tool ]
EDIT:
Problem with action order solved, just needed to put the annotation script after resize script in member.php
Though I don't need batch and font annotation I'd like to know what could be the problem with them, maybe I'll fix it, who know's when thoose would be needed.
-
what graphic module do you use?(GD,IM,NetPBM)
did you download attached package or from SLL's site? attached package should fix the batch annotation
-
I have downloaded from here (http://faces.dalnet.ru/files.php?l=english) Than tryed the second link, the atached one. I had looked at the filse and it seemed that theres no diference...
I did downloaded the atached files and overwrited ann_settings.php annotate.php and batch_anotate.php. On upload I checked and there was no diference in size between overwrited files and those I have uploaded.
I use GD cause it's default one. I just don't know the diferences between them and if it's worth to change. Maybe someone could provide a link so I cand learn the diferences..
-
Hallo,
MOD eingebaut und funktioniert auch auf den ersten versuch. Keine Fehlermeldungen und nüscht... wird anbgezeigt aber ich habe trotzdem ein problem*g*
- habe zum testen eine gallery mit 26 Bildern durch den BATCH Konverter laufen lassen.... hat das watermark auch eingebaut aber ich habe einen TIPPFEHLER drinne und
wenn ch erneut einen batch laufen lasse habe ich den TEXT 2x drinne..... wie kriege ich das weg????????
- beim Upload macht er keinen autotext obwohl aktiviert? was kann das sein, er gibt auch keinen fehler aus
-
Hi ichhabeja schon viel gelesen aber meine Englisch kenntnisse halten sich in Grenzen. Ich habe dieses Problem:
Processing image Ein schöner See from category Photoshop Arbeiten, image ID 20 >>
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /usr/export/www/hosting/exestend/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /usr/export/www/hosting/exestend/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /usr/export/www/hosting/exestend/includes/annotate.php on line 193
OK
Und wenn ich das Ganze mit Bild machen will passiert das:
Processing image Ein schöner See from category Photoshop Arbeiten, image ID 20 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /usr/export/www/hosting/exestend/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /usr/export/www/hosting/exestend/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /usr/export/www/hosting/exestend/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /usr/export/www/hosting/exestend/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /usr/export/www/hosting/exestend/includes/annotate.php on line 186
Ich hoffe echt das mir einer helfen kann :/
-
... Fehlermeldung : Could not find/open font ...
... du wirst also nicht den richtigen Pfad zu deinen Fonts gesetzt haben ... !
-
Naja in den Annotation Einstellungen steht das so:
Annotation Schriftart => Aquiline.ttf
und diese File liegt im Root ordner mit 755 Rechten :/
Und bei dem Bild kommt ja auch eine komische Fehlermeldung :/
LG
-
Annotation Schriftart => Aquiline.ttf
... falsch ... da gehört der Pfad zu dem Fontsatz rein ... !
... diese Problematik ist in diesem Thread schon xxx-mal besprochen worden ...
... schau dich einfach mal einige Post zuvor um ...
-
Habe es raus gefunden. Dennoch Danke für deine Hinweise.
LG
-
есть несколько вопросов:
1. не добавляется надпись при загрузке новых фото из админки. только через Batch Annotate.
2. при выполнении Batch Annotate не обрабатываются подкатегории. т.е. для обработки нужно указывать все категории и подкатегории поочереди. напряжно....
подскажите что можно с этим сделать?
спасибо.
ENGLISH:
how to add Annotation when upload images from admin Control Panel?
-
aber wenn ich das bild dann nachher downloade ist dann das wasserzeichen weg???
-
hey ,, it works great .. but when i use the muliti uploader the watermark doestn appear on the uploaded images ....is thier a method of doin it .. i mean appling watermark to the images uploaded using the multiupload ( basic )
heres ma upload link - http://www.nuwaragedara.com/wallpaper/member.php?action=muploadform&mutype=basic
please .. help me...
thanks in advance...
-
подскажите что можно с этим сделать?
Поставь этот мод [MOD] Check new images in ALL categories
-
Hab auch mal ne Frage zu.
Habe Version 1.7.7
Wenn ich Bilder rauflade dann macht er es automatisch, das einfügen des Wasserzeichens.
Aber warum kann ich es nicht manuell machen?
Habe einige Bilder wo ich das nachtragen möchte, oder bei denen wo die Automatik nicht funktionierte. Aber das funktioniert händisch nicht.
Für was gibts dann aber das Batch_Annotate im Admin?
-
@ tomerl
Beispieleinstellung für ein nachträgliches Watermark mit Batch Annotate :
1. ACP -> PlugIns -> Batch Annotate
2. Batch images annotation :
Kategorie -> Hier die entsprechende Kategorie des Bildes auswählen
Number of images to do per cycle -> 1
Image ID to start at -> Hier die Image_ID des Bildes eingeben
Include automatic JavaScript redirect to next page -> Nein
3. Abschicken
... gerade nochmals getestet ... und funktioniert bestens das "Nachträgliche Watermark" ...
-
I upload my images with "check new images". Everything is okay, but the annotation are in my thumbnails too. How can I change this?
I have the same problem. Could somebody help me?
Thank you.
-
Ich suche ein Wasserzeichen Mod der folgende dinge kann:
Man soll im acp ein png bild hochladen können. dann soll man einstellen können bei welchen kategorien das wasserzeichen automatisch beim hochladen der bilder draufgesetzt wird. Kann man das mit diesem Mod?
Edit:
der mod funzt net bei mir. hab alles so eingestellt wie ichs haben will. aber beim bilder upload erscheint kein wasserzeichen.
-
Thiis works very nice,just have a problem with the exif.If have tha watermak enabled loose the Exif. :(
The exif are very important.Anyone solved this problem. :?:
I reed something about this here.http://www.4homepages.de/forum/index.php?topic=13719.765 but ,don't understand very well because the translation.
-
@fermachado
... we have it already discussed several times ...
... if you use watermark with gd-libary for your images ... the exif- / iptc-infos are definitely lost in this images ... no chance ...
... but there are two ways to save the exif- / iptc-infos ...
1. during the upload exif- / iptc-infos are stored in db : therefor we have a MOD ...
2. during the upload the original image is stored in /big/-folder with all exif- / iptc-infos to read : therefor we have a MOD ...
( http://www.4homepages.de/forum/index.php?topic=13719.msg124962#msg124962 )
-
3. use ImageMagick (http://www.4homepages.de/forum/index.php?topic=23428.0 (http://www.4homepages.de/forum/index.php?topic=23428.0))
-
Hi,
Thanks,mawenzi and Vano.
I change to ImageMagick and works nice.
I think I have a mod installed and this mod only work with GD.Need wait for errors to see what mod is. :D
Obrigado,(thanks)
-
SLL, thank you for this mod!
I found two errors in this mod.
====================
On the watermark i want use User Name (%S).
When i check new images from ACP then in the first photo user name is blank(on others fotos user name is present).
I try change annotate.php. I put
$ann_user_name = "Administrator";
before
$ann_repl = array ("$ann_date", "$ann_time", "$ann_site_name", "$script_url", "$ann_url", "$ann_user_name", "\n\r");
After that i see user name at first photo, but if any user(not from ACP) upload photo then in the watermark will be user name "Administrator".
Could anybody help me with fix first or second problem?
=====================
I want clarify with previous problem "I upload my images with "check new images". Everything is okay, but the annotation are in my thumbnails too." It's happen only when i use ASP, and where user upload one photo there isn't watermark on tumbnail. How to fix this?
PS I already readed all 56 pages, but there is no answer for my questions
-
are you using modified version of "check new images"? if I'm not mistaken this mod doesn't support that feature...
-
what do mean when told "modified version of "check new images""? [MOD] Check new images in ALL categories?
-
I guess.
If you are using that mod, then it's more likely bug in that mod...I'll check it out later.
-
Thank you. I'll be waiting you answer.
I use that mod.
If you need some tests - just told me.
-
I am trying to be familiar with 4images using xampp.
Watermark is working nice with GD and image. But when I am trying to use it from admin panel its not working.
I have used 1.7.6 version and SLL's files..........
Can u tell me any way to get rid of this problem?
Waiting..........
-
Hello and welcome to 4images forum.
By "not working" do you mean no watermark being added when you upload it via ACP (Admin Control Panel) or some other problem (like giving error message(s) or blank page) when running batch annotation plugin?
-
I am sorry for my clarifications, I am from bangladesh and my english is not that good enough.
I have tried it to up-load it from normal user panel creating another normal registered user, it is working at that time when it is in the front panel.
But when I am trying to upload it from my Admin panel then the image get uploaded correctly and i can view it, but the image is not watermarked.
Please help me.
-
Moreover that, When I use the FTP upload and check images option then the annotation is not working.
-
Processing image arif from category Editorial, image ID 001044 >>
Warning: imagesx(): supplied argument is not a valid Image resource in C:\Program Files\xampp\htdocs\site_test\includes\annotate. php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in C:\Program Files\xampp\htdocs\site_test\includes\annotate. php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in C:\Program Files\xampp\htdocs\site_test\includes\annotate. php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in C:\Program Files\xampp\htdocs\site_test\includes\annotate. php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in C:\Program Files\xampp\htdocs\site_test\includes\annotate. php on line 186
When I want to batch annotate , 4images is saying this. . . . . . . . . . . . .
-
Hello ,
this is the first post and question here
thanks for all these modifications and i have a question regarding Image Annotation .
1 - Does it compatible with the latest version ? 1. 7. 7
2 - Does it add the water mark to the image it self or just an over layer ?
3 - if my question no2 is yes . . how to add the water mark to the image it self to be stable even with download ??
thanks for help :)
-
hi Dr-SeMSeM and welcome to 4images forum ...
1. yes ...
2. to the image it self ...
3. and also for downloding ...
-
I did not get my reply. . . . . . . . . .
-
Thanks mawenzi for replaying me :)
another question please :D
What about already exit pictures ??
does the mod applied on it too or not ??
-
@Dr-SeMSeM
... with this MOD comes a plugin "Batch Annotate" for watermarking existing images ...
-
i installed it . . but not working with me
also for Batch Annotate still giving me redirect pages and finally no water mark added . .
please can you upload a modified files for me then ill try it again ?
Warning: imagettftext() [function. imagettftext]: Could not find/open font in /hermes/web07/b1473/******/htdocs/*****xxx: /pics/includes/annotate. php on line 192
-
@Dr-SeMSeM
... this was discussed several times here in this thread ...
... make sure you entered the correct path to your .ttf font file in the settings ...
-
If you get the "Could not find/open font", and you are sure, that you've set the right path and name, try removing the .ttf extension from the filename in MOD settings, e.g., use "/fonts/verdana", not "/fonts/verdana.ttf".
-
How I must enter the correct path to my . ttf font file in the settings?
I put tahoma. ttf to my root directory. But watermark doesnt appear in the images after loading.
-
Раз уж и сюда и в лс написал, то отвечу здесь :) . У меня так:
/home/имя БД/4images(или как там эта папка переименована)/bkant.ttf
Пример:
/home/u181128/4images/tahoma.ttf
А если БД на localhost, то вообще все просто - указывается полный путь до файла (только разделитель используется "\", а не "/")
Пробуй загрузить как пользователь, но не из админ панели. Так у меня работает. Также работает если загрузить несколько фото на ftp, а потом их оптом загрузить(только я еще доп. мод V@no помогающий загрузке ставила и не знаю будет ли без него работать, так что попробуй отладить на первом).
-
watermark не добавляется на картики добавленные в acp. dlya etogo est' batch watermark plugin
(dolbanye йцукенги, 5 minut potratil na to predlozhenie!)
-
its not working ..the image uploads but i cant see my logo on it..
im using GD Bibliothek
is it supportable?
-
i have bunch of questions b4 installing this mod :D
1.will i be able to select a cat and watermark the photos in that cat ?
2.Is this supported with 1.7.6 ?
3.Has Any1 got a working Demo ?
Thats All :D :mrgreen:
-
@GaYan
1. by using the Batch Annotate Plugin, you can select images by categories with individual watermak settings ...
2. yes, of course ...
3. yes ... link via sign ...
-
Gents,
Great mod! Thanks very much!
I have modified it as indicated on page one to work with cyrillic. And it works great if I use GD...
with imagemagik it watermarks with strings like in attachment... looks like wrong encoding...
Where is the problem?
Thanks in advance!
-
hiya
a little question!
whenever i tried to watermark with image expect of text , it gave me this error:
Annotating between image ID 5794 and 5796:
Processing image My Name Is Khan (2010) from category My Name Is Khan (2010), image ID 5794 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/jinii/public_html/wallpapers/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/jinii/public_html/wallpapers/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/jinii/public_html/wallpapers/includes/annotate.php on line 184
please help
-
One question...
Why is the watermark-mod only working when I upload a .jpg file ?
It does not work with a .jpeg file or .gif .bmp .png , etc.!
Can somebody help me with that?
Friendly regards,
Benjamin
Somebody? :(
Any probable solutions for this issue? :|
-
Hallo,
ich bekomme eine Fehlermeldung, sobald ich ein Bild nachträglich mit Wasserzeichen versehen möchte.
Grüße
Annotating between image ID 616 and 616:
Processing image 2010 Saisonende an der Steinlake from category Natur pur, image ID 616 >>
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /home/www/***/html/***/galerie/includes/annotate.php on line 95
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/www/***/html/***/galerie/includes/annotate.php on line 192
Warning: imagettftext() [function.imagettftext]: Could not find/open font in /home/www/***/html/***/galerie/includes/annotate.php on line 193
OK
Finished!
-
....
das steht aber im eingangspost drinnen das der pfad zu den fonts anzupassen ist.
-
....
das steht aber im eingangspost drinnen das der pfad zu den fonts anzupassen ist.
Steht das da?
Wo genau?
Meinst du das?
<?php
header ("Content-type: image/png");
$im = imagecreate (180, 30);
$black = imagecolorallocate ($im, 0, 0, 0);
$white = imagecolorallocate ($im, 255, 255, 255);
imagettftext ($im, 14, 0, 10, 21, $white, "/home/public_html/arial.ttf", "GD Freetype test");
imagepng ($im);
imagedestroy ($im);
?>
wohl eher nicht?
Denn wenn ich ein bild hochlade, funktioniert es ja.
-
...
Denn wenn ich ein bild hochlade, funktioniert es ja.
sorry, ich habe mich wohl falsch ausgedrück, ich meine eigentlich das hier:
If you get the "Could not find/open font", and you are sure, that you've set the right path and name, try removing the .ttf extension from the filename in MOD settings, e.g., use "/fonts/verdana", not "/fonts/verdana.ttf".
und deine von dir gepostet fehlermeldung sagt es ja auch aus ,das die fonts nicht gefunden werden.
sehe gerade das in der config der pfad einzugeben ist, oder?
$ann_font_path = $config['annotation_font'];
-
...
Denn wenn ich ein bild hochlade, funktioniert es ja.
sorry, ich habe mich wohl falsch ausgedrück, ich meine eigentlich das hier:
If you get the "Could not find/open font", and you are sure, that you've set the right path and name, try removing the .ttf extension from the filename in MOD settings, e.g., use "/fonts/verdana", not "/fonts/verdana.ttf".
und deine von dir gepostet fehlermeldung sagt es ja auch aus ,das die fonts nicht gefunden werden.
sehe gerade das in der config der pfad einzugeben ist, oder?
$ann_font_path = $config['annotation_font'];
Wenn ich die endung wegnehme, dann bekomme ich beim hochladen eines Bildes die Fehlermeldung über dem header.
lasse ich den namen "ARIAL.TTF" so wie es war, bekomme ich die Fehlermeldung beim hochladen nicht, dafür aber, beim Batch Annotate im ACP.
Komisch, oder?
Von welcher config sprichst du?
EDIT:
ok, endung kannich weglassen, und die Fehlermeldung erscheint nicht, wenn ich einen extra ordner anlege. also so wie im Beispiel. fonts/arial
trotzdem geht es nicht, im nachhinein die bilder mit einem Wasserzeichen zu versehen, dann bekomme ich wieder die Fehlermeldung im ACP
Grüße
-
im ACP sind doch die einstellungen vorzunehmen, nur ob dort nur der fond name oder der gesamte pfad einzugeben ist weis ich nicht.
ich denke mal mit pfadangabe.
aber vielleicht kann uns ja mal wer aufklären der den mod installiert hat.
-
im ACP sind doch die einstellungen vorzunehmen, nur ob dort nur der fond name oder der gesamte pfad einzugeben ist weis ich nicht.
ich denke mal mit pfadangabe.
Das ist richtig,
legst du die font datei in den Galerieordner, also dort wo die index.php liegt, reicht es arial.ttf einzugeben. jetzt habe ich einen fontsordner angelegt und nun steht im ACP fonts/arial ohne endung, und das funktioniert. Wie gesagt beim nachträglichen bearbeiten bekomme ich ne fehlermeldung.
Mal sehen, vielleicht tut sich noch was.
Danke dir aber erstmal für deine hilfe.
Grüße
-
Hi, hab ne Frage.
Funktioniert der MOD beim FTP-upload, oder nur beim Kategorie-upload?
-
@honda2000
... nach dem FTP-Upload muss nur das Plugin "Batch Annotate" für die betreffenden Bilder ausgeführt werden ...
-
was aber auch nicht so ohne weiteres funktioniert,
-
Eben leider.
Also gibts nichts wirklich "fertiges" als Wasserzeichen, bei upload per FTP, oder?
-
@honda2000
... also echt honda, wie sollte das funktionieren ...
... der FTP-Upload ... ein Upload ohne das Script von 4images, wie sollte da 4images das Wasserzeichen auf die Bilder bekommen ...
... das bereits zitierte Plugin, das mit diesem MOD mitkommt, arbeitet im ACP perfekt ... !
... die Wasserzeichen bekommst du wie folgt ganz schnell auf deine Bilder, die per FTP hochgeladen wurden ...
... FTP-Upload -> Plugin im ACP aufrufen -> Images_ID auswählen -> Plugin starten -> Wasserzeichen sind auf allen ausgewälten Bildern ...
... fertig ... in 15 Sek. ...
... auf diese Art und Weise kannst du auch alle Bilder nachträglich marken, die bereits vor der MOD-Installation auf deiner Seite waren ....
... was sollte da noch einfacher laufen ...
... ich denke mal, du hast das Plugin noch nicht getestet ... ;)
-
Doch, und du wirst es nicht glauben, ich hab einen anderen Weg gefunden, geht perfekt per FTP!
-
wies geht, verrätst du uns nicht, oder? 8)
-
Soll ich??
<?php
header('content-type: image/jpeg');
$img = $_GET['img'];
$watermark = imagecreatefrompng('watermark.png');
$watermark_width = imagesx($watermark);
$watermark_height = imagesy($watermark);
$image = imagecreatetruecolor($watermark_width, $watermark_height);
$image = imagecreatefromjpeg("$img");
$size = getimagesize("$img");
$dest_x = $size[0] - $watermark_width - 5;
$dest_y = $size[1] - $watermark_height - 5;
imagecopymerge($image, $watermark, $dest_x, $dest_y, 0, 0, $watermark_width, $watermark_height, 100);
imagejpeg($image);
imagedestroy($image);
imagedestroy($watermark);
?>
watermark.png nach Belieben, ins Root,
jpg.html in: template/<dein-template>/media
<img src="./watermark.php?img={media_src}" border="1" alt="{image_name}"{width_height} /><br />
-
@honda ....
1. dein Code-Schnipsel ist von batu544 [MOD] On-fly image annotation : http://www.4homepages.de/forum/index.php?topic=23434.0
2. ein Link hätte sicher genügt ...
3. dieses Watermark hat rein garnichts mit FTP-Upload zu tun, denn die Originalbilder bleiben bei diesem MOD unangetastet ...
4. beim Download sind diese Bilder ohne Watermark ... ! wozu dann ein Watermark ... ? schon getestet ... ?
5. dieses Watermark erzeugt eine ganz schöne Serverlast, da mit jedem Bildaufruf das Bild incl. Watermark komplett neu generiert wird ... !
6. der MOD heißt nicht umsonst ... ON-FLY ...
...
7. du kannst natürlich auf deinen Webseiten machen was du willst, doch sage nicht, du hast ein Watermark per FTP-Upload gefunden ... !
-
1. bekommt jedes Bild (egal wie es geladen wird und von wem) ein Wasserzeichen
2. ist selbst das Bild gegen Hotlinking somit halbwegs gesichert
3. zusammen mit einem Big-Folder (den ich aus deinen one Image - three Sizes) noch nicht zusammen bekommen habe, eine fast schon geniale Lösung.
4. will ja auf dem Orginalbild keiner ein Wasserzeichen, und eine Bildversion mit 580-900px Kantenlänge ist nicht druckfähig
5. wenn ich den 3. aus deinem one Image - Three Size hinbekomme, eine Ideallösung für z.B. Fotografen
Mit der Serverlast, okay, kommt auf den Server an, aber da kannst du unter Umständen Recht haben.
-
... soweit alles ok ...
... doch solltest du deine Problemstellungen für das nächste mal genauer durchdenken und beschreiben ...
... denn wie bereits gesagt ... hat deine "Lösung" nichts mit FTP-Upload zu tun ... !
...
... wenn du "On-fly image annotation" benutzt, so kannst du dort noch deine gewünschte Ausgabegröße der Bilder (in px) für die Detailseite definieren ...
... dann benötigst du gar keine Big-Folder- und Three-Size-Lösung .... ;)
... die großen Original-Bilder liegen zum Download im normalen-Cat-Ordner ...
... die verkleinerten Bilder für die Detailseite werden jedes mal mit "On-fly image annotation" von den Originalbildern generiert ...
...
... 'ne perfekte Lösung, solange nicht all zu viele User auf der Website surfen ... sonst -> Serverlast ...
-
:?: :?:
Halt, Stop, wo kann ich die gewünschte Ausgabegröße der Bilder (in px) für die Detailseite definieren???
(ohne die Orginal-Datei per Auto-Image-Resizer zu resizen??
Hätte gleich noch den riesigen Vorteil, die EXIf blieben auch noch erhalten!
Das wäre perfekt!
-
...
in der media/ jpg.html aber perfekt ist da gar nichts drann.
oder willst du dir schnell mal ein par bilder einer hasselblad ansehn, mit was weis ich 40mb ?
-
Das ist keine Antwort auf die Frage, wie ich innerhalb von On-fly image annotation : http://www.4homepages.de/forum/index.php?topic=23434.0 die Ausgabegröße in Pixel xY begrenzen kann!
Schön für dich, wenn du ne Hasselblad hast, ich möchte gar keine.
Wenn es nicht "perfekt" ist, hats als Mod auch nichts zu suchen im Forum!
Für m ich ist es perfekt, weil der Mediafile nicht verkleinert wird, keine 3 Ordner angelegt werden, und sowieso nur ganz wenige Menschen, die mediafils sehen!
Also,...
@Mawenzi, kannst du mir sagen, was ich einstellen muss, um die Größe zu begrenzen?
-
Das ist keine Antwort auf die Frage, ...
nochmal, ein bspl.:
wenn das original bild sagen wir mal 20mb hat, und du nur die ansicht verkleinerst, werden immer die 20mb herrunter geladen bevor du das bild sehen kannst.
und nochmals, die ansicht so wie du denkst es ist perfekt, kannst du in der media/jpg.html begrenzen.
-
Selbst Canons 1DsMKIII löst nur mit 21 Mb auf, Nikons D3x mit 24,1 MB, Bilder haben in der Regel etwa die Hälfte der MB, seltenst 2/3!
Wo steht denn, das es mehr als eine erstellte Thumbvorschau mit 250px geben muss und dazu einen Download mit voller Auzflösung?
Richtig ist aber, das man bei voller Auflösung und großem Medias recht viel Stream gibt, der aber bei vielen Hostern frei ist!
media/jpg.html
<img src="./watermark.php?img={media_src}" border="0" alt="{image_name}"{width_height} />
...dann muss ich aber "feste" Größen eingeben, oder kann man die proportional ändern/anzeigen lassen??
-
statt :
{width_height}
fügst du das ein: style="width:{width}px;height:{height}px"
in der includes/functions.php:
suche :
"width" => $width,
"height" => $height,
ersetze es mit:
"width" => $width*.5,
"height" => $height*.5,
im Bspl. wird die höhe und weite des bildes mit dem factor "0.5" multipliziert, somit ist das bild um die hälfte kleiner.
glücklich?
-
Fast :D :D :D
"width" => $width*.5,
"height" => $height*.5, entspricht x 0.5 = halb so groß
Was muss ich einsetzen, damit es 5x kleiner ist??
.2 entspräche ja dem, oder?
Ich muss von rund 3600pix auf ca. 900pix verkleinern, das entspräche
Also wäre das rund 1/4??
.25??
-
...
Was muss ich einsetzen, damit es 5x kleiner ist??
.2
-
Ah, meine grauen Zellen arbeiten noch, allerdings:
Parse error: syntax error, unexpected T_DOUBLE_ARROW in /www/htdocs/w0071eb0/crearts/sportfoto/includes/functions.php on line 501
nach:
"width" => $width*.5,
"height" => $height*.5,
oder
"width" => $width*.2,
"height" => $height*.2,
also beginnend mit der Zeile "width"
-
^dann schreibs mal in klammer:
"width" => ($width*.5),
-
also, der richtige Code, ohne Fehler im PHP ist:
$width = "$width*.2";
$height = "$height*.2";
aber, er zeigt die orginale Größe an!
igg.html
<img src="./watermark.php?img={media_src}" border="0" alt="{image_name}" style="width:{width}px;height:{height}px" /><br />
-
ja aber ohne semikolon ( ; ) zum schluss.
du mußt die änderung im abschnitt der " function get_media_code " machen, und dort in:
$site_template->register_vars(array(
"media_src" => $media_src,
"media_icon" => $media_icon,
"image_name" => format_text($image_name, 2),
"width_height" => $width_height,
"width" => $width*.5,
"height" => $height*.5,
"iptc_info" => $iptc_info,
"exif_info" => $exif_info
));
und natürlich die änderung in der jpg.html nicht vergessen.
-
:lol:
Perfekt, das wars!
Ich war etwas weiter oben in
$width_height = "";
$width = "";
$height = "";
$iptc_info = "";
$exif_info = "";
geraten.
-
Hatte natürlich auch zunächst nicht den absoluten Pfad für Bid / *.ttf angegeben :oops:
Jetzt läuft es :D
Nochmal zum Thema FTP upload.
Das funktioniert einwandfrei. Ich lade meine Bilder ausschließlich per FTP .
Nutze ja diesem Mod hier (annotation_1_4 http://www.4homepages.de/forum/index.php?topic=13719.0 (http://www.4homepages.de/forum/index.php?topic=13719.0)) in Verbindung mit dieser Checkimages http://www.4homepages.de/forum/index.php?topic=4754.0 (http://www.4homepages.de/forum/index.php?topic=4754.0) Die habe ich komplett vorkonfiguriert. Klicke nur noch "Neue Bilder checken" und "Hinzufügen".
Originalbilder kommen in den /download Ordner, Bild für Details wird erstellt und bekommt ein Wasserzeichen drüber aus einem Bid, ebenso wird auch das Thumb erstellt.
Dazu habe ich noch eine Frage. Wie kann ich dem Mod beibringen das Wasserzeichen nicht über die Thumbs zu erstellen. Da stört das Wasserzeichen eher? Wenn ich die Bilder zunächst ohne Wasserzeichen in die Datenbank lade und hinterher mittels "batch annotate" das Wasserzeichen integriere, geschieht das nur bei den Details-Bildern nicht bei den Thumbs. Genu so sollte es aber auch schon beim Hochladen mittels checkimage passieren.
DANKE
-
...Wie kann ich dem Mod beibringen das Wasserzeichen nicht über die Thumbs zu erstellen...
Gibts da keine Lösung? mhh
-
hallo erstmal^^
irgendwie wird bei mir nichts abgezeigt, laut test funzt alles perfekt:
es erscheint jedenfalls ein schwarzer hintergrund mit weisser schrift: GD Freetyp test
Nur auf den Bilde wird rein gar nichts angezeit, wenn ich beispeilweise den batch ausführen möchte erscheint:
No category selected, nothing to annotate...
Finished!
und beim hochladen passiert auch nichts...an was könnte es liegen? wäre super wenn mir jemand helfen könnte!
GD und alles ander hat funktionen:
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.12
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.27
WBMP Support enabled
XBM Support enabled
JIS-mapped Japanese Font Support enabled
gruss
-
gibts hier in dem forum überhaupt noch leben? oder isses schon ausgestorben? mmh....
-
Hallo und herzlich Willkommen,
es sind gerade mal zwei Tage nach Deiner Anfrage vergangen. Wenn du den Mod richtig installiert hast, sollte es auch gehen. Nur aus Deienr Fehlerbeschreibung geht einfach nichts draus hervor.
Ich gehe mal davon aus, das du die 60 Seiten durchgelesen hast und versucht hast das Problem zu lösen? Ich habe den Mod selber nicht installiert, daher kann es ein wenig dauern, bis die Personen, welche den Mod auch installiert haben, die Zeit finden, sich um Dein Problem zu kümmern. Sei bitte nicht ungeduldig, aber hier im Foruzm herscht Leben und bisher gab es auch für jedes Problem eine Lösung. :-)
Gruß
-
@bexx
... und welche Einstellungen hast du für das Watermark im ACP vorgenommen ... ?
... Bild oder Schrift usw. ... ?
... hast du die möglichen Varianten schon alle durchgetestet ... ?
... denn letztendlich wird der Fehler in deiner MOD-Installation liegen ...
-
hallo
sehr schön das doch jemand da ist...
mmh also ich habe alles laut anleitung gemacht, habe auch mal die hier im thread gezeigte fehleranalyse durchgeführt mir werden keine fehler angezeigt.
als absolutne pfad habe ich dieses nagegeben: users/benrender/www/arial.ttf
so wird es auf dem space auch benutzt.
ansonsten ist text grösse 10 angegeben
unterhal rechte ecke
schatten
quali 80
als text:
Text stört? Registriere dich!
Automatische Annotation-Funktion beim Upload ist auf ja
gruss
-
Hallo,
in der Installationsanleitung steht:
"Please check out all fields shown below.
If they do not correspond to your settings, please
DO NOT START INSTALLER! "
Nun Prefix for tables in database phpbb3_
stimmt so nicht.
Ich habe eine Bridge installiert zwischen joomla --> phpbb3 --> 4images
darf ich es dann riskieren das einfach drüber zu installieren?
das präfix sollte eigentlich "4images" sein
-
Video tutorial for this mod:
http://www.asian-lady.org/tutors/annotation2-mod/annotation2-mod.html
link is dead.
-
hoi this is my problem
Warning: require(admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/mahzemin/public_html/resim-galeri/admin/plugins/ann_settings.php on line 5
Warning: require(admin_global.php) [function.require]: failed to open stream: No such file or directory in /home/mahzemin/public_html/resim-galeri/admin/plugins/ann_settings.php on line 5
Fatal error: require() [function.require]: Failed opening required 'admin_global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mahzemin/public_html/resim-galeri/admin/plugins/ann_settings.php on line 5
when i open the ann.settings.php
-
I have this problem with encoding... How to resolve this???
See attached file
-
Hallo zusammen,
ich habe das Mod eingeabut und es funktioniert auch soweit gaz gut.
Nun ist es so, das ich meine Bilder für GB zur Verfügung stelle und ich gerne auch dort das Wasserzeichen drauf gesetzt hätte, leider geht das aber wohl nicht.
Das heißt, auf der Seite gb-power.de sind die Wasserzeichen enthalten, aber sobald man das Bild in ein fremdes GB z.B: bei Jappy per Code veröffentlicht, ist das Wasserzeichen weg.
Was kann man tun, damit das Wasserzeichen permanent auf dem Bild verbleibt, also kein Wasserzeichen drüber legen, sondern ein Wasserzeichen integrieren?
Vielen Dank schon einmal für eure Antworten.
Gruß
Frank
-
Hallo Frank ...
... zunächst willkommen im 4images-Forum ...
Aber offensichtlich schreibst du deine Anfrage in den falschen MOD-Thread, denn diese Matermark-Modifikation von Sll schreibt das Wasserzeichen beim Upload direkt in die Bilder, die dann auch so abgespeichert werden. Und egal von wo du dann diese Bilder aufrufen lässt, es ist immer das Wasserzeichen auf dem Bild !
Du hast mit Sicherheit diese Watermark-Modifikation von batu544 (http://www.4homepages.de/forum/index.php?topic=23434.0) installiert, da liegt dass Wasserzeichen "nur" als div-Layer über dem Bild, so dass beim direkten Aufruf der Bilder das Wasserzeichen nicht mit angezeigt wird.
Was folgt nun daraus ?
Ganz einfach, du musst diese Watermakt-Modifikation von Sll (http://www.4homepages.de/forum/index.php?topic=13719.0) (nämlich die aus diesem Thread ... ;) ) installieren und dein Problem ist gelöst. btw. dieses Watermark arbeitet perfekt, ermöglicht die Einbindung von Text mit Schatten, Bildern und hat im ACP diverse Einstellmöglichkeiten, ohne dass Dateien editiert werden müssen ... halt top.
Gruss mawenzi
-
Hallo mawenzi,
vielen Dank für die schnelle Antwort.
Dann werd ich mal das Mod einbauen, sicherlich hab ich die 2 Mods dann verwechselt.
Danke!!!
-
... sicherlich hab ich die 2 Mods dann verwechselt ...
... ja, und da muss man auch erst einmal drauf kommen um eine passende Antwort geben zu können ...
... viel Erfolg bei der Installation ...
-
Hallo mawenzi,
jetzt habe ich noch einmal genau nach gesehen, und ich habe doch dieses MOD eingebaut. Definitiv.
Wenn aber dann das Wasserzeichen eigentlich permanent auf dem Bild liegt, wo könnte dann der Fehler liegen?
Gruß
Frank
-
Hallo,
bei mir wird bei einem Bildupload kein Wasserzeichen automatisch gesetzt. Und auch wenn ich es anschließend über die "Batch Annotate" Funktion versuche kommt nur folgendes:
Annotating between image ID 88 and 88:
Processing image egt from category Cielo Club, image ID 88 >>
Warning: imagesx(): supplied argument is not a valid Image resource in /home/www/web169/html/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/www/web169/html/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/www/web169/html/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/www/web169/html/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/www/web169/html/includes/annotate.php on line 186
OK
Finished!
hat jemand eine Ahnung woran das liegen könnte?
Vielen Dank!!
-
Hello thanks for mod.
I've installed this mod, ok works. perfect.
photo then install but get the following error. However, this software is performing.
Notice: Use of undefined constant jpg - assumed 'jpg' in member.php on line 562
Notice: Undefined variable: user_info inannotate.php on line 72
My system: 4images 1.7.10, Httpd 2.2.21.x, Php 5.3.10.x, mysql 5.5.23.x on centos 5.8
Please help me. thanks.
-
Warning: imagesx(): supplied argument is not a valid Image resource in /home/khyber/public_html/gallery/includes/annotate.php on line 176
Warning: imagesy(): supplied argument is not a valid Image resource in /home/khyber/public_html/gallery/includes/annotate.php on line 177
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/khyber/public_html/gallery/includes/annotate.php on line 184
Warning: imagecolortransparent(): supplied argument is not a valid Image resource in /home/khyber/public_html/gallery/includes/annotate.php on line 185
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/khyber/public_html/gallery/includes/annotate.php on line 186
Working on data/media/4/timeline.jpg file
Thumbnail created.
Added annotation in data/media/4/timeline.jpg file.
Image added: timeline
-
Helllo Sir,
I have integrated the Annotation Watermark module, and i have done it step by step with any error. And even i have set Watermark Text from admin panel..... But still when i look into the images on my gallery i don't see any watermark on the images.
The module i have used is: http://www.4homepages.de/forum/index.php?topic=13719.0
Its not working, Check my site: www(.)walllpapers.zhakkas(.)com
-
@ ZHAKKAS.com
I have the same problem, no watermark appears even though I did everything correctly ...
any idea ?
-
Hello,
I have installed this MOD and works fine inserts a watermark annotation in every photo uploaded, but now I can not see the exif info. The photos uploaded before the installation of this Mod mantain the exif info.
Can anyone help?
Thanks