Skip to content

Comments

Add support for thumbnail links through attachment ID parsing, while excluding download links.#3

Open
sk-ys wants to merge 2 commits intoalphanodes:mainfrom
sk-ys:enhancement/support-thumbnail-link-and-skip-download-link
Open

Add support for thumbnail links through attachment ID parsing, while excluding download links.#3
sk-ys wants to merge 2 commits intoalphanodes:mainfrom
sk-ys:enhancement/support-thumbnail-link-and-skip-download-link

Conversation

@sk-ys
Copy link

@sk-ys sk-ys commented Dec 10, 2025

This pull request introduces the following improvements:

  • Added a function to parse attachment IDs from URLs.
  • Updated the lightbox initialization logic to match links based on attachment ID rather than the full URL.
  • Modified the behavior to exclude links with the icon-download class, preventing download links from being included in the lightbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant