Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images disappearing from gallery block #10091

Closed
arnopeck opened this issue Sep 21, 2018 · 6 comments
Closed

Images disappearing from gallery block #10091

arnopeck opened this issue Sep 21, 2018 · 6 comments
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Feature] Blocks Overall functionality of blocks [Feature] Media Anything that impacts the experience of managing media [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@arnopeck
Copy link

After uploadingg imagges in a gallery block, when i save some images are missing, from the gallery.
Even checking the media gallery some images are missing.
When i come back to the editing page i can see JS error about wrong JSON.

To Reproduce
Steps to reproduce the behavior:

  1. Edit an article or a page
  2. Click on 'insert Gallery Block
  3. Drag images (or click select images)
  4. Save Article
    5 See the problem

Expected behavior
Just have my gallery on the article or page.

@Soean
Copy link
Member

Soean commented Sep 21, 2018

What is you user role? We have an open issue, if you are not an admin. See #9875
Should be fixed in 3.9.

@Soean Soean added [Feature] Blocks Overall functionality of blocks [Feature] Media Anything that impacts the experience of managing media labels Sep 21, 2018
@arnopeck
Copy link
Author

My user is administrator...

@bahia0019
Copy link

Does it act similar to this? #6861

@arnopeck
Copy link
Author

@bahia0019 Not really, i don't see flickering or disappearing images like in #6861,
when i upload the images i can see the preview and it looks fine, then i save, and see the frontend,
but when i come back in admin (reloading the page) images are missing...

Some times gutemberg is asking me to reset as block the gallery, but when i click one one of the 2 buttons available it just insert on the text block a UL LI list (with invisible elements)

@designsimply
Copy link
Member

When i come back to the editing page i can see JS error about wrong JSON.

Does the error message that you are seeing say, "The response is not a valid JSON response"?

Is there any chance you would be able to check the Network panel in your browser's web developer tools at the time the error appears to see if there is any more detailed information about the error? Here is an example of a successful response in a test I did, and we would want to know if you see a 400 or 500 error instead of a 200 response:

screen shot 2018-09-27 at 3 03 51 pm

If you are able to check with a plugin, noting the details from the Server section in Dashboard > Health Check > Debug screen found in the Health Check plugin as well as noting what size the images are that you are trying to upload would be good things to document if possible.

@antpb antpb added the [Status] Needs More Info Follow-up required in order to be actionable. label Oct 8, 2018
@Soean Soean added the [Block] Gallery Affects the Gallery Block - used to display groups of images label Oct 26, 2018
@youknowriad
Copy link
Contributor

Looks like a duplicate of #8935

@designsimply designsimply added [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed and removed [Status] Needs More Info Follow-up required in order to be actionable. labels Feb 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Feature] Blocks Overall functionality of blocks [Feature] Media Anything that impacts the experience of managing media [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

6 participants