0
Leaf created
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
- ABP Framework version: v3.1.2
- UI type: MVC
- Tiered (MVC) or Identity Server Seperated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue:
Hi,
I want to save picture in my table, how to Add Picture Column in ABP Suite. Also, is there any guide to change the user profile photo?
Thank you.
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
2 Answer(s)
-
0
hi,
there's no direct way to achieve this. but you can add a new
byteproperty to your entity, then generate the CRUD page. afterwards, change thebytetype tobyte[]manually. (you might need to add a new migration for this change)alternatively you can use the
stringproperty and save your Image asBase64format.Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)