Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - orb4

Pages: [1] 2 3
1
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?



2
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?

3
UP ! could SLL or anyone give support for my question please?

4


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?   

5
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"?

6
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" ?

7
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.

8
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  :))

9
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?


10
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;

11
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?

12
Mods & Plugins (Releases & Support) / Re: wrong file size
« on: December 11, 2007, 12:48:26 PM »
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 ?? :?

13
Mods & Plugins (Releases & Support) / Re: wrong file size
« on: December 11, 2007, 12:27:40 PM »
ok
http://world99.free.fr
test account :
login : 4images
pass : 4images

I created the category named "TEST CATEGORY"

14
Mods & Plugins (Releases & Support) / wrong file size
« on: December 11, 2007, 01:11:48 AM »
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??  :(

15
Discussion & Troubleshooting / border color
« on: December 09, 2007, 12:51:50 AM »
hello!
In homepage or categories page, there is a 1px colored border around the thumbnails. #0000FF  (almost blue )on unseen pics and #A40000 (almost red) on visited pics. this like classic windows "hover" style.
My question is where can I suppress this border color?  this is not in style.css!

Pages: [1] 2 3