image=url_for('static',filename=f'users/{user}/usersimages/{image}')
return f"<img src='{image}'>"
I checked path and there is a image at this path its working in local network but not in pythonanywhere
You're not serving static files. Search the PythonAnywhere help pages for 'static files' for lots of help.