Improve client lazy image loading logic
Add support for user file uploads