bounswe / bounswe2022group4

6 stars 3 forks source link

Frontend: Create Post Image Uploading and Post Base 64 Image Rendering #404

Closed umutdenizsenerr closed 1 year ago

umutdenizsenerr commented 1 year ago

In the Create Post structure there is a field that user can upload image related to the post. In order to make this feature light weight we have decided to post images as base64 text to the database and getting them as base64 image and render them.

BeratDamar commented 1 year ago

We talked about base64 option for image in our posts. I reviewed your code and you used base64 provided by react. Thanks to posting and getting images with base64, we will decrease bandwidth significantly. For the efficiency, that implementation is sufficient for us. So, I will merge. Thanks !