I have some images uploaded in a folder on my server, and their paths are stored
in a table in my database. Whats the best way to display this images on the browser(as a gallery)?
Should I use jQuery or maybe CodeIgniter could do the job?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I tend to agree that you’re probably a little bit confused. There are two components that have to happen here.
There are almost an infinite number of ways to perform #1, and they are totally dependent on your database configuration, server, etc. Using CodeIgniter with Active Record, and assuming that you already have an active database connection, the PHP would look something like this:
Number two is most easily handled by using something like jQuery + ColorBox. There are literally hundreds of gallery/slideshow/photo plugins for jQuery. If you’re interested in looking around, there are a bunch here.