Image upload problem |
[eluser]spagi[/eluser]
Hi, I have problem, I am trying upload image and create thumb ...it is working perfect if is image's height or weight more than 200px but if is size smaller the CI do not create thumb, it do only upload. Can anyone help ??
[eluser]spagi[/eluser]
Hmm I detected The file's size was more than 1Mb and I get error Your server does not support the GD function required to process this type of image. Your server does not support the GD function required to process this type of image. Do you know what can I do?
[eluser]pistolPete[/eluser]
What GD library are you using? Whats the setting of memory_limit? What's your image library configuration?
[eluser]spagi[/eluser]
Memory limit 24 MB php info http://peklo.core.ignum.cz/phpinfo.php $nazev=$this->upload->data($field_name); $pomer=$nazev['image_height']/$nazev['image_width']; $config['image_library'] = 'gd2'; $config['source_image'] = './zbozi/'.$nazev['file_name']; $config['create_thumb'] = TRUE; $config['maintain_ratio'] = TRUE; $config['width'] = 100/$pomer; $config['height'] = 100; |
Welcome Guest, Not a member yet? Register Sign In |