[close #46] Validate image upload by extension in dummy image backend.