|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Image Gallery 2.0 by Notepad - Pagination Function
Hi there,
I am using this fantastic script by notepad. As my gallery is growing now I was wondering if anybody else using the script has changed the pagination function to include page numbers? ie: prev 123456 next I am not a coder myself so wouldnt know where to begin but if anybody knows of a way to do this please let us know. Ross |
|
#2
|
||||||||
|
||||||||
|
RE: Image Gallery 2.0 by Notepad - Pagination Function
you'd want to focus on the navigate_images() function. which for reference i've included below.
php Code:
now while i won't make the changes for you, cause i don't have time, here is a similar function i wrote which does what you want. you should be able figure out how to use this example to modify the code above to your liking. php Code:
|
|
#3
|
|||
|
|||
|
RE: Image Gallery 2.0 by Notepad - Pagination Function
hey thanks notepad,
I will certainly give it a try. thanks for responding Ross |
|
#4
|
|||||
|
|||||
|
RE: Image Gallery 2.0 by Notepad - Pagination Function
okay i changed my mind and did it for you. also corrected a few of my own mistakes O_O just replace the old function with this one.
php Code:
|
|
#5
|
|||
|
|||
|
RE: Image Gallery 2.0 by Notepad - Pagination Function
hey again notepad,
thanks a million, I was struggling to get it to work, now it works like a charm. Many Thanks Ross |
|
#6
|
|||
|
|||
|
Hello there... this is an awsome script, i´m implementing it on my site... but i have 2 questions:
1- Can i open the image on the same "thumbnails page" with a back to the gallery link? i can´t figure it out. 2- Can i disable the middle mouse button to prevent te user from opening multiple windows? Any ideas are wellcome =) Thanks in advance. Bill. |
|
#7
|
|||
|
|||
|
Ok... i modified the script and all working fine.... except for this problem:
(URL address blocked: See forum rules) Now... while i trying to solve that problem.... Anyone have some advice to optime the scirpt to reduce server load? I think something about cache.. not to load the same page everytime... for example iam on page 1... i go to page 2... when i come back to page 1... all loading again. =P Thanks in advance. |
|
#8
|
|||
|
|||
|
I am new to coding php and have used this image gallery. I love it, because it is easy to use. But I came across this pagination edit for it and followed the directions to have the different pages at the top and bottom. I would like to have this feature for the image gallery, but after clicking on two or three pages all of the thumbnails go away. I can't even get back to the first page by using the arrow. Please help, I inserted just like it said and am having issues getting the code to work.
Thank you in advance Carrie Last edited by bbybls : June 19th, 2007 at 08:13 PM. |
![]() |
| Viewing: Codewalkers Forums > Other > Tutorials > Image Gallery 2.0 by Notepad - Pagination Function |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|