mjackson / mjackson/shadowbox

First image description says it's image '2 of 10'

Open
#43 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
293
Forks
110
PR merge metrics
No merged PRs in 30d

Description

I have a small gallery of 10 images.
However, when I click on the first one, the description says it's the image '2 of 10'. The last image in the gallery is descripted as the first image, but even though I change their place on the html, this keeps happening.
Any help with this? Could'nt find it in the docs.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the reported 10-image HTML gallery, then inspect how the gallery assigns image positions and descriptions. Check the first and last image labels in the rendered lightbox; done means the first image is labeled 1 of 10 and the last is labeled 10 of 10.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.