❔ 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
Thank you ❤️
The thing you're doing wrong is storing the image as text, and not as a good and proper image file
What would be the correct approach if you got time
Store the image in the filesystem
Save the path in the database
Can the image file be a different function then the one I have
Instead of cardetails
Huh?
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
Somewhere, preferably in the project directory, not on
C:/Users/Adel/Desktop
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.