ampproject / ampproject/bento

Thumbnails for Bento Lightbox Gallery

Open
#19 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
43
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Can we have different images for the thumbnail and for the lightbox view?

Instead of this…

```html

```

… I need something like this:

```html

```

This might be really useful from the perfomance point of view. Including large images into `` is not a good solution, even if we use lazy loading.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the bento-lightbox-gallery component and the lightbox handling for images with the lightbox attribute. Check how the current img src is used, then verify that a separate data-lightbox-src value loads only for the lightbox view while the thumbnail keeps its existing source.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.