Photo Gallery |
[eluser]RogerM[/eluser]
Hi Everyone, I am new to CodeIgniter and love it already... I have my current php programs written by hand or by using an open source script. I would like to create a proofing gallery for my clients website. Any suggestions on how to render a gallery? I think I am going to store the information in a database, the title, file path etc... But how would I format a gallery in the view? Thanks in advance.... Roger
[eluser]mscahill[/eluser]
I'm interested in this, too. Maybe this will bump the post...
[eluser]alectrash[/eluser]
I did this a while ago, not sure if it helps? In controller I have Code: function page() And in view I have Code: <div id="gallery"> It makes an nice 4 by 3 grid of thumbnails that link to another page where u can view image and a comment etc
[eluser]alectrash[/eluser]
Sorry yeah your rite that code is just for a list of images. Change the code so instead of a thumbnail for each image, that thumbnail is for the album, then onclicking on that thumbnail it goes through to another page with same code but this time outputs thumbnails of images within that album.
[eluser]mscahill[/eluser]
How are you doing the thumbnails? I'd imagine that would be the hardest part of the process. I want to have this set up similar to zengallery where you just dump the images in a folder via FTP, and the application does the rest...
[eluser]Jelmer[/eluser]
Take a look at the simple gallery class I wrote a while ago: http://ellislab.com/forums/viewthread/86266/ |
Welcome Guest, Not a member yet? Register Sign In |