Image Gallery with Pagination

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
itsinmyhead
Forum Commoner
Posts: 25
Joined: Wed Aug 13, 2008 11:33 am

Image Gallery with Pagination

Post by itsinmyhead »

I used Dreamweaver to build an image gallery with Spry, but there are some things that I'd like to change about it, and I'm not sure where to start.

Here is the page as is: http://adkpennysaver.com/papers/readcc.html

What I'd like to do is to have the thumbnails on the right separated into pages, perhaps 6 thumbnails per page, with "< 1 2 3 >" for navigation below it.

I'm not sure how to do this while keeping the same functionality that I have right now. Is there a way to paginate with this kind of Spry gallery? Or will I have to go another route completely, be it through PHP, MySQL or other?

Any help is greatly appreciated!
vishal.angre
Forum Newbie
Posts: 11
Joined: Wed Oct 01, 2008 4:32 am
Location: Mumbai, India

Re: Image Gallery with Pagination

Post by vishal.angre »

i will give you image gallary pagination with 2-3 hours.

If gallery is static, then i can do it in $15
If gallery is dynamic, then i can do it in $10


Please reply
itsinmyhead
Forum Commoner
Posts: 25
Joined: Wed Aug 13, 2008 11:33 am

Re: Image Gallery with Pagination

Post by itsinmyhead »

Thanks, but no thanks. I'm not looking to buy something, I'm looking to learn how to do it myself.
User avatar
jayshields
DevNet Resident
Posts: 1912
Joined: Mon Aug 22, 2005 12:11 pm
Location: Leeds/Manchester, England

Re: Image Gallery with Pagination

Post by jayshields »

The URI doesn't work. Anyway, did you use any PHP for it? If not, you're going to need PHP for it to be dynamic. You'll only need a database if you want to store something in the database. For a simple gallery, it's perfectly feasible to do it without a database.
itsinmyhead
Forum Commoner
Posts: 25
Joined: Wed Aug 13, 2008 11:33 am

Re: Image Gallery with Pagination

Post by itsinmyhead »

jayshields wrote:The URI doesn't work. Anyway, did you use any PHP for it? If not, you're going to need PHP for it to be dynamic. You'll only need a database if you want to store something in the database. For a simple gallery, it's perfectly feasible to do it without a database.
Whoops... yeah, just made some site updates and changed the address. http://adkpennysaver.com/papers/readcc.php

I hadn't used PHP for this. Right now, it's Spry with the images being called through an XML file.
itsinmyhead
Forum Commoner
Posts: 25
Joined: Wed Aug 13, 2008 11:33 am

Re: Image Gallery with Pagination

Post by itsinmyhead »

Alright, I've got it working! Mostly.

http://www.adkpennysaver.com/papers/readcc_test.php

The paging works fine, but there's one problem that I haven't been able to figure out. How do I get my images to center in that sidebar?

I'm no dummy, and this is really driving me nuts. I haven't been able to do anything that gets those images centered in the sidebar.

Any advice here?
Post Reply