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.
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.
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.
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