Welcome Guest, Not a member yet? Register   Sign In
Replace uploaded image with resized version..NEW PROBLEM: Uploaded url different than sql inserted url.
#7

[eluser]ColinHoernig[/eluser]
[quote author="srisa" date="1230251208"]Sorry, I misunderstood. From what I understand you can either create thumbnail or resize the original at one time, not both at the same time. What you can do is, create the thumbnail first. Then reset the config items and do the resizing. You can clear the clear the config items with $this->image_lib->clear(); and then load new config with $this->image_lib->initialize($config);[/quote]

That worked great! Thanks a lot.

Now..how do I go about getting the actual link to the image to put that into the database. Right now its uploading with names like product_name_here.jpg and inserting names like product name here.jpg. Is there a way to get the correct upload name?


Messages In This Thread
Replace uploaded image with resized version..NEW PROBLEM: Uploaded url different than sql inserted url. - by El Forum - 12-29-2008, 09:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB