C
C#2y ago
Adel

❔ image finally stored as byte but when viewing I'm not getting an image

Good afternoon guy was wondering what I'm doing wrong now for the image not to show? Yes im sorry im uploading pictures can't have discord on work laptop. Please let me know if there is anything else I need to show
9 Replies
Adel
AdelOP2y ago
Thank you ❤️
Angius
Angius2y ago
The thing you're doing wrong is storing the image as text, and not as a good and proper image file
Adel
AdelOP2y ago
What would be the correct approach if you got time
Angius
Angius2y ago
Store the image in the filesystem Save the path in the database
Adel
AdelOP2y ago
Can the image file be a different function then the one I have Instead of cardetails
Angius
Angius2y ago
Huh?
Adel
AdelOP2y ago
Never mind sorry to confuse you I'm a beginner so it's hard to understand the terminology So you want me to save the image to my desktop on a file
Angius
Angius2y ago
Somewhere, preferably in the project directory, not on C:/Users/Adel/Desktop
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server