[eluser]Référencement Google[/eluser]
[quote author="ywftdg" date="1215983625"]In the past I would store the image paths(comma separated) in my table. Then in the front end explode the array and loop through to spit them out.[/quote]
Two things I can say here:
- Nothing that what you have done in the past is impossible with CI
- It's not a good way to store your images paths into 1 field and explode it after, I'll try explain how you should do below
What you may do is an image table separate from your portfolio table.
Let's say:
image_id | portfolio_id (foreign key to your main porfolio table) | image_path
Doing so, you can have how much images you want for a given portfolio item, then just retrieve them using a Join query.