Image validation fix.
Call `_validate_common` along the client-side code path, in addition to the
already-handled server-side code path.