[eluser]RedIgniter[/eluser]
I haven't used the image helper if there is one with codeigniter, but wih PHP I would use the function to split the name and whats before .jpg (or whatever the extension is) to store in the database, also insert in the db the path the picture is gonna be in, and make a folder with that path name and upload the picture in it, then its easy to get the data from database to show images. Hope it helps.