How to edit an image stored as BLOB

Asked

Viewed 108 times

0

Using Spring MVC, thymeleaf and mysql, I have an image stored in the database as BLOB, along with other attributes and can render the image on the screen normally in a list. From the list, I can access a record editing form that is filled automatically with the data coming from the database. My problem is in the BLOB field that is not filled in on the edit screen. What would be the best way to edit this image along with the other fields?

  • Can post some code snippet?

  • The ideal is that Voce has a screen that can edit the recovered image in the database, after this generate a new image and re-write the image in the database with the blob type.

  • Then I should render the image again on the edit screen and put an optional field for the user to fill the image. If it fills in I replace, if I do not fill in I keep the old image. This would be feasible?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.