Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 04:37:52 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: help with swift image gallery  (Read 676 times)
kmillar

Offline Offline

Posts: 10


« on: February 01, 2008, 05:33:17 AM »

Love this gallery. I have updated the view.php in the zip to remove the double <br> above the thumbnails as I prefer to have more control with through the CSS.

The only other change I would like to have is to change the navigation of the thumbnails 1 2 etc to a prev & next interface  because if there are lots of images, this will not fit nicely. Im not sure how to update the view.php to do that. Any hints?

Thanks!
Karene
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #1 on: February 01, 2008, 07:06:36 PM »

You can limit the amount of displayed thumpnails in the settings of the gallery. I have done it here. You then still need to modify the output to suit your needs ... this way you have a sort of "pagination" function.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

kmillar

Offline Offline

Posts: 10


« Reply #2 on: February 01, 2008, 09:05:42 PM »

Thanks for your reply. I do have the page numbering, but if it gets to be over 4 pages you have 1 2 3 4 5 and breaks the design. That is why I was hoping to change it to <  > (previous and next) for the pagination but I need help with the PHP code in view.php.
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6977


WWW
« Reply #3 on: February 02, 2008, 12:27:52 PM »

OK ... best have a look at the view.php of the news module, that one uses the pagination. But I think it would be easier if you just modified the output from table to DIV and float the thumpnails under the image and after that the pagenumbers below (or above if you prefer).

At the Moment the Image is a table inside the table containing the Preview and pagenumbers.

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

kmillar

Offline Offline

Posts: 10


« Reply #4 on: February 02, 2008, 10:54:14 PM »

Nice idea with the images underneath.

I do need a News module but could not find one in the Addons>Modules area. Can you point me to the news module you refer to?

Thanks!
Logged
ruebenwurzel
WebsiteBaker Org e.V.

Offline Offline

Posts: 7973



WWW
« Reply #5 on: February 03, 2008, 07:39:49 AM »

Hello,

news modul is in the WB package included.

Matthias
Logged
kmillar

Offline Offline

Posts: 10


« Reply #6 on: February 03, 2008, 07:50:02 PM »

Thank you !
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!