/    Sign up×
Community /Pin to ProfileBookmark

Slide image galleries (counting script)

I’m using a script that is adding an image gallery automatically (it creates thumbnails of bigger images). But when I have a large amount of images, the page is to full. Is there a way to split them up in pages?

I think of some script that slides in the pages. Found this already, but there is some crucial function missing. I need also some code that counts the ammount of ‘li’ lines. Example: when it detects more than 20 (say 25) ‘li’ lines (images), it generates a new div so there are two divs (one with 20 and one with 5). Is this possible to do? I don’t have the programming skills to achieve this. Can someone help me with this?

Or is there some other script that does this easily?

to post a comment
CSS

0Be the first to comment 😎

×

Success!

Help @gwbonline spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...