Hi
I am having an issue, where it doesn’t generate the big_image. It happens under following circumstances:
max_big_size is defined, so it is inside the condition "if($this->mgconfig[’max_big_size’] != 0){"
mg0.5.2 on line 419 or
mg-trunk-166 on line 446
Now the problem occurs if this condition fails:
if($this->mgconfig['max_pic_size']>0 && ($imagesize[0]>$this->mgconfig['max_pic_size'] || $imagesize[1]>$this->mgconfig['max_pic_size'])) {
There won’t be a copy for the big_image (please confirm).
My fix is to add an additional else with "//else just copy" on line 430 (mg0.5.2) or line 457 (trunk166).
}else{
//else just copy
copy($this->path_to_gal.$name, $this->path_to_gal."big_".$name);
}
I attached the fix for trunk166 (line 457) tagged with //eerne
Thanks for having a look at it.