A Python script to diagnose common client-side issues with image files (size, format) before attempting a web upload.