Welcome Guest, Not a member yet? Register   Sign In
Multiple image upload, resizes only once
#13

[eluser]Linderman[/eluser]
[quote author="BrianDHall" date="1253653505"]After further reading, something else to try. First, try loading the image library with no config information outside of your create thumbnail function, such as in the calling function with your file uploads.

Then in your create thumbnail function, call $this->image_lib->initialize($config) to set your configuration settings. Process your image, and then before turning from the function call $this->image_lib->clear().

I forgot, loading anything with $this->load functions can often cause a problem if you are doing it in a loop. Better to load it once, then initialize and clear through each iteration of a loop or function.[/quote]

I got same problem! BUT this works perfect, MANY THANKS!!! Respect, BrianDHall \/


Messages In This Thread
Multiple image upload, resizes only once - by El Forum - 09-22-2009, 06:13 AM
Multiple image upload, resizes only once - by El Forum - 09-22-2009, 06:30 AM
Multiple image upload, resizes only once - by El Forum - 09-22-2009, 06:59 AM
Multiple image upload, resizes only once - by El Forum - 09-22-2009, 07:45 AM
Multiple image upload, resizes only once - by El Forum - 09-22-2009, 09:02 AM
Multiple image upload, resizes only once - by El Forum - 09-22-2009, 09:25 AM
Multiple image upload, resizes only once - by El Forum - 09-22-2009, 10:00 AM
Multiple image upload, resizes only once - by El Forum - 09-22-2009, 10:05 AM
Multiple image upload, resizes only once - by El Forum - 09-22-2009, 12:54 PM
Multiple image upload, resizes only once - by El Forum - 09-22-2009, 02:36 PM
Multiple image upload, resizes only once - by El Forum - 09-22-2009, 02:51 PM
Multiple image upload, resizes only once - by El Forum - 09-23-2009, 04:58 AM
Multiple image upload, resizes only once - by El Forum - 05-03-2010, 08:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB