Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.