-
Notifications
You must be signed in to change notification settings - Fork 506
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
Comments
Related to #939 :( Removed size tag. This may require backend changes to expose new values. |
I have started this work in ushahidi/platform-client#1382 but the following changes are needed to make the whole process more clear:
|
I just tested the initial commit with size validation and required, and it works really nicely <3 You rock @Angamanga Edit: sent a tiny feedback on the PR |
re 4 - I can pair later in the week totally |
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
https://isooko.ushahidi.io
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect the
Is there a workaround? What is it.
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.
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.'
Screenshots
URL / Environment where this happened
Live
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):
Smartphone Hardware Details (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: