I am developing an image gallery site. Now I want to have unique URL for every image, like:
www.xyz.com/photos/aaaa.jpg
I am using CodeIgniter to implement pagination.
Pagination works fine, but I am getting a URL like:
/index.php/main/latest/5
I can remove pagination and get this URL, www.xyz.com/photos/aaaa.jpg
but how can I go to the next/previous images? I am showing images on the basis of created date and have search functionality.
So I can I implement distinct URL and have pagination. So if any one can share an image and can navigate prev/next.
For example http://www.imdb.com/media/rm397582592/rg117676544, and you can still go to next/previous in this gallary.