Why the resize cicle work only for first loop |
[eluser]Gewa[/eluser]
The script I have wrote makes thumb only for first loop of the cicle. Whats up? Any help? Code: $config['upload_path'] = './images/lokale/';
[eluser]pistolPete[/eluser]
Your code is pretty messed up, but what I see is that you load the image class more than once. The user guide states: Quote:The clear function resets all of the values used when processing an image. You will want to call this if you are processing images in a loop.
[eluser]DIMM[/eluser]
I have still the same problem. $this->image_lib->clear(); does not help. An only one thumb is created, although variable 'source_image' changes on each loop of the cicle Code: $data['files'] = get_filenames($path);
|
Welcome Guest, Not a member yet? Register Sign In |