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

Uploading a large image to a post on a deployment #3781

Erioldoesdesign opened this issue Oct 1, 2019 · 1 comment


Copy link

commented Oct 1, 2019

Describe the bug
When a post has the ability for a photo/image to be uploaded. If the image is over 66kb (only tested on 66KB image and a 1.3MB image) the image will appear in the draft or in the 'non-published' post but then when you try to save it will not display.

I get a very quick 'snackbar' appear with a triangle ! icon and no supporting text. If I don't see that an image failed I have no information to fix my error/image upload.

Where was the bug observed

To Reproduce
Steps to reproduce the behavior:

  1. As a logged in role with permissions to post to a survey or edit a survey, go to a post that can have an image uploaded to it.
  2. Click the + add photo button
  3. Choose and image over 66KB
  4. Save the post
  5. See error message. There is also a 'dismiss' snack bar that appears out of context (it flashes for a split second)

Expected behavior
I would expect the

Is there a workaround? What is it.

  1. I would love some copy that is next to all '+ ADD PHOTO' buttons that explains to users the maximum recommended file size for a photo/image.

  2. Some text to go along with the error like 'The image you selected didn't upload correctly. Try a smaller image/photo that is under 'X'KB in file size.'


Screenshot 2019-10-01 at 15 33 08

Screenshot 2019-10-01 at 15 33 19

Screenshot 2019-10-01 at 15 33 31

Screenshot 2019-10-01 at 15 33 42

Screenshot 2019-10-01 at 15 34 43

URL / Environment where this happened

If the bug is datasource related (e.g. SMS or Targeted SMS), please specify the configuration details (e.g. Frontline + Clickatell, etc):

Desktop Hardware Details (please complete the following information):

  • OS: Mac Mojave 10.14.5
  • Browser Chrome Version 77.0.3865.90 (Official Build) (64-bit)

Smartphone Hardware Details (please complete the following information):

Additional context


This comment has been minimized.

Copy link

commented Oct 1, 2019

Related to #939 :(

Removed size tag. This may require backend changes to expose new values.

@rowasc rowasc added Theme: Media and removed Size: XS labels Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.