Welcome Guest, Not a member yet? Register   Sign In
Memory Limit Help!
#8

[eluser]CroNiX[/eluser]
I'm not sure how that could or would work with their library. I don't use CI's image library as it caused too many problems for me or didn't do enough of what I need.

One thing you could do is first get all of the filenames from the dir, and put them in the db at that time. Have another column for "processed" with a default value of 0. Then use that to retrieve the image filenames and when one is processed, mark it as processed. Maybe use the same table you are currently using since the image filename would be the same pre/post conversion?

This way, if you run into an error, you can just run it again on the unprocessed items and continue where you left off so you don't have to start over. I don't know how much time I'd spend trying to get it to run in a single go when you probably will only use it once.


Messages In This Thread
Memory Limit Help! - by El Forum - 12-11-2013, 04:57 AM
Memory Limit Help! - by El Forum - 12-11-2013, 11:19 AM
Memory Limit Help! - by El Forum - 12-11-2013, 12:54 PM
Memory Limit Help! - by El Forum - 12-11-2013, 01:05 PM
Memory Limit Help! - by El Forum - 12-11-2013, 01:08 PM
Memory Limit Help! - by El Forum - 12-11-2013, 01:27 PM
Memory Limit Help! - by El Forum - 12-11-2013, 01:53 PM
Memory Limit Help! - by El Forum - 12-11-2013, 02:24 PM
Memory Limit Help! - by El Forum - 12-11-2013, 02:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB