Jump to content

Displaying images


forumnz

Recommended Posts

Example :

 

 

I think you are using glob.

 

Collect all images in array.

Suppose you have 300 images Then in array you will get index 0 to 299

Now you want to display 75 image on a page

So there are total 4 pages (300/75)

 

at first show image from array of index 0 to 74 from array

and give link of page test 2,3,4

 

Now if user click on link 2 display from array of index 74 to 149 and give link on 1,3,4

     

 

Link to comment
https://forums.phpfreaks.com/topic/50760-displaying-images/#findComment-249641
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.