Why does updating the profile pic not work well?
Whenever I change a user’s profile picture, it reverts to the default user picture after refreshing the page. This happens every time, making it seem like the new profile picture isn’t being saved properly. It could be due to the new image URL not being stored correctly in the database or the application not retrieving the updated URL when the page reloads. To fix this, I need to ensure that the new profile picture URL is correctly saved and fetched from the database every time the page loads.
Why does updating the profile pic not work well?
Whenever I change a user’s profile picture, it reverts to the default user picture after refreshing the page. This happens every time, making it seem like the new profile picture isn’t being saved properly. It could be due to the new image URL not being stored correctly in the database or the application not retrieving the updated URL when the page reloads. To fix this, I need to ensure that the new profile picture URL is correctly saved and fetched from the database every time the page loads.
Why does updating the profile pic not work well?
Whenever I change a user’s profile picture, it reverts to the default user picture after refreshing the page. This happens every time, making it seem like the new profile picture isn’t being saved properly. It could be due to the new image URL not being stored correctly in the database or the application not retrieving the updated URL when the page reloads. To fix this, I need to ensure that the new profile picture URL is correctly saved and fetched from the database every time the page loads.
Angular – why profile pic update is not working well?
html :