metafizzy / metafizzy/flickity-fullscreen

hash link to fullscreen

Open
#24 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
49
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Hi desandro, I was wondering if its possible to link a specific image in fullscreen, so when click, it opens the fullscreen and scrolls to the desire img, also is it possible to link to a image with out the #photoX on the url?

<a class="comment_photo_fullscreen" href="#carousel-cell2">View cell 2</a>

<img class="carousel-image" id="carousel-cell2"....>

  $(".comment_photo_fullscreen").click(function() {
    $carousel.flickity('viewFullscreen');
  });

Appreciate the help

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 with the provided .comment_photo_fullscreen click handler and its $carousel.flickity('viewFullscreen') call, then inspect how the #carousel-cell2 hash is handled. Done means a link can open fullscreen at the requested image and support linking without the #photoX URL fragment.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.