Automattic / Automattic/jetpack

Tiled Gallery - Image Placeholder When Uploading from Gallery

Open
#19,415 0 comments 0 reactions 0 assignees View on GitHub
[Block] Tiled Gallery [Feature] Tiled Gallery [Plugin] Jetpack [Pri] Low Enhancement Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

> Tiled Gallery shows a missing image icon while the image is loading (no src attribute until it’s loaded):

#### Steps to reproduce the issue

1. Add a tiled gallery
2. Click on the pencil icon
3. Add a new image that's already been uploaded to the media library
4. See the broken image icon while the image uploads.

#### What I expected

To see a nice image loading icon, like this:

![Screen Shot on 2021-04-05 at 07:46:02](https://user-images.githubusercontent.com/33553323/113571313-2a518600-95e4-11eb-979c-b19610266904.png)

#### What happened instead

The image seemed broken for a second:

![screenshot-2021-04-02-at-18 19 58](https://user-images.githubusercontent.com/33553323/113571294-202f8780-95e4-11eb-8c6b-d92641e09ecd.png)

p8oabR-DS-p2#comment-5195

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Reproduce the steps with a Tiled Gallery and inspect the gallery editor's image-loading path; the work is done when the intended loading placeholder appears instead of a broken-image icon while a media-library image is added.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.