Feature Overview:
Currently only one image can be uploaded per listing. We need to support multiple image uploads and display them as a gallery.
Requirements:
Allow multiple image uploads during listing creation
Store multiple image URLs in database
Update Listing schema to support array of images
Display images in carousel or grid layout on listing page
Suggested Schema Update:
Images should be stored as an array containing objects with url and filename fields
Technical Notes:
Modify Cloudinary upload logic to handle multiple files
Update form to use multiple file input
Use Bootstrap carousel for gallery display
Ensure old single-image listings still work
Acceptance Criteria:
Multiple images saved in database
All images displayed correctly
No breaking changes to existing listings
Feature Overview:
Currently only one image can be uploaded per listing. We need to support multiple image uploads and display them as a gallery.
Requirements:
Allow multiple image uploads during listing creation
Store multiple image URLs in database
Update Listing schema to support array of images
Display images in carousel or grid layout on listing page
Suggested Schema Update:
Images should be stored as an array containing objects with url and filename fields
Technical Notes:
Modify Cloudinary upload logic to handle multiple files
Update form to use multiple file input
Use Bootstrap carousel for gallery display
Ensure old single-image listings still work
Acceptance Criteria:
Multiple images saved in database
All images displayed correctly
No breaking changes to existing listings