krishnaacharyaa / wanderlust

WanderLust is a MERN travel blog website 🚀 This project is aimed to help people to contribute in open source, upskill in react and master git.
https://wanderlust-beta.vercel.app/
MIT License
174 stars 833 forks source link

[FEATURE] <Feature of uploading image for cover page of blog post> #377

Open deepak9285 opened 1 month ago

deepak9285 commented 1 month ago

Description

Currently for making a blog post only limited amount of images are kept .I want to enhance this by adding one option of uploading images from its own local storage. Screenshot (617)

Use Case

By adding this feature user can have the ability to select the cover page images by its own . and user experience will be enhanced.

Proposed Solution

I will use useState to manage the selected image and its preview. An element allows users to select an image file. I will use the file reader api. This is used to read the contents of the selected file and generate a base64 data URL for preview.

Additional Information

No response

Attachments

No response

shivansh84ya commented 3 days ago

could you please assign this issue to me