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

Issue in uploading images #9582

Closed
rajku-dev opened this issue Dec 26, 2024 · 3 comments
Closed

Issue in uploading images #9582

rajku-dev opened this issue Dec 26, 2024 · 3 comments

Comments

@rajku-dev
Copy link
Contributor

Describe the bug
The image dimensions requirement often prevent users from uploading the cover photo, leading to failed uploads in approximately 90% of cases. The required dimensions are a minimum of 400px in width and height, with a maximum of 1024px for both. Even a slight deviation from these limits frequently results in a poor user experience.

ux with normal photos from internet

demo.mp4

To Reproduce

  1. Go to '/facility'
  2. Click on 'cover photo of any facility'
  3. Click on Edit -> Upload an image
  4. Choose an image and see if error occurs

Expected behavior
If an image is within the 1MB size limit but does not fit the required dimensions, it should be resized (stretched or shrunk) to match the required dimensions before upload, ensuring a smoother user experience

Proposed Solution

sol.mp4

Desktop (please complete the following information):

  • Windows 11
  • Google Chrome
  • Version 131.0.6778.205 (Official Build) (64-bit)

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@rajku-dev
Copy link
Contributor Author

rajku-dev commented Dec 26, 2024

I would like to work on this issue. @Jacobjeevan @rithviknishad @bodhish

@kabenari
Copy link

@Jacobjeevan @gigincg @athulmanuel would like to work on this issue

@rithviknishad
Copy link
Member

This is expected behaviour.

@rithviknishad rithviknishad closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants