Starts in:
2 DAYS
15 HRS
49 MIN
9 SEC
Starts in:
2 D
15 H
49 M
9 S
Open Closed

How to Insert Photo In ABP Suite #456


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


2 Answer(s)
  • User Avatar
    0
    Leaf created

    Hi,

    any update ?

    Thank you.

  • User Avatar
    0
    alper created
    Support Team Director

    hi,

    there's no direct way to achieve this. but you can add a new byte property to your entity, then generate the CRUD page. afterwards, change the byte type to byte[] manually. (you might need to add a new migration for this change)

    alternatively you can use the string property and save your Image as Base64 format.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06