Welcome Guest, Not a member yet? Register   Sign In
How do I make multiple thumbails for the same image with image_lib?
#10

[eluser]Rick Jolly[/eluser]
-sek, substitute the second $this->load->library('image_lib', $config) with $this->image_lib->initialize();. CI won't create another instance because it maintains one singleton instance of all library classes. You can create another instance by writing $image_lib = new Image_lib();, but only after it has been loaded.


Messages In This Thread
How do I make multiple thumbails for the same image with image_lib? - by El Forum - 07-23-2008, 09:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB