Innovateninjas / Paws-frontend

A fast responsive webapp that allows you to report injured stray animals to the nearest NGOs.
https://pawss.vercel.app
GNU General Public License v3.0
64 stars 101 forks source link

💡[FEATURE]: Option to upload multiple images #388

Open DownOnCoffee opened 5 months ago

DownOnCoffee commented 5 months ago

Is your feature request related to a problem? Please describe. It's better if the user can upload multiple images for better UX and also for better understanding.

Describe the solution you'd like I will update add photo feature so that user can add more than 1 images.

github-actions[bot] commented 5 months ago

Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.

DownOnCoffee commented 5 months ago

Please assign me this task , I am a contributor in GSSOC'24.

codewarnab commented 5 months ago

Is your feature request related to a problem? Please describe. It's better if the user can upload multiple images for better UX and also for better understanding.

Describe the solution you'd like I will update add photo feature so that user can add more than 1 images.

okay first share your plan #342

DownOnCoffee commented 5 months ago

UI Update: 1.Redesign the "Add Photo" section to allow users to select multiple images. This could be implemented with multi-select button. 2.Update the UI to show a preview of all selected images with options to remove any . Backend: 1.Modify the API endpoint that handles image uploads to accept multiple files. Database changes: if images are stored in database then update database schema to store multiple images. @codewarnab

codewarnab commented 5 months ago

UI Update: 1.Redesign the "Add Photo" section to allow users to select multiple images. This could be implemented with multi-select button. 2.Update the UI to show a preview of all selected images with options to remove any . Backend: 1.Modify the API endpoint that handles image uploads to accept multiple files. Database changes: if images are stored in database then update database schema to store multiple images. @codewarnab

you have to also update the ngo dashboard to show multiple images probably with swipe feature in mobile and with arrow swipe in desktop

DownOnCoffee commented 5 months ago

@codewarnab Yes I can do that too .

DownOnCoffee commented 5 months ago

@codewarnab Can you assign me for this task so that I can start the work.

codewarnab commented 5 months ago

yes

DownOnCoffee commented 5 months ago

Screenshot (1310) I am facing an issue where I am trying to upload the image on the website but It's giving error while doing that @codewarnab

codewarnab commented 5 months ago

Screenshot (1310) I am facing an issue where I am trying to upload the image on the website but It's giving error while doing that @codewarnab

is it locally or pawss.vercel.app ?

DownOnCoffee commented 5 months ago

@codewarnab local

codewarnab commented 5 months ago

@codewarnab local

Did you set up the .env as instructed in contributing.md?

DownOnCoffee commented 5 months ago

I will check again

DownOnCoffee commented 5 months ago

https://api.cloudinary.com/v1_1//image/upload this is the format for the REACT_APP_CLOUDINARY_UPLOAD_URL in env file right? @codewarnab

codewarnab commented 5 months ago

@rishicds