Skip to content

Issues when uploading images to a Gallery block: The response is not a valid JSON response. #8935

@nicolasmondada

Description

@nicolasmondada

Problems when uploading images to a Gallery block

Steps to Reproduce (for bugs)

  1. Add a gallery block.
  2. Select 4-5 images (4-10Mb each) from your local drive and upload them.

Using Chrome 68.0.3440.106 + WP 4.9.8 + Gutenberg 3.5.0

Expected Behavior

Images should be uploaded to the gallery and displayed.

Current Behavior

Initially images seem to upload alright and a preview is shown on the gallery. A few seconds later an error message is displayed on the Gallery block:
The response is not a valid JSON response.

Screenshots / Video

screen shot 2018-08-13 at 18 13 57

screen shot 2018-08-13 at 18 13 52

Metadata

Metadata

Assignees

Labels

Needs Technical FeedbackNeeds testing from a developer perspective.[Block] GalleryAffects the Gallery Block - used to display groups of images[Feature] MediaAnything that impacts the experience of managing media[Priority] HighUsed to indicate top priority items that need quick attention[Status] Needs More InfoFollow-up required in order to be actionable.[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions