Remove unused images.
Clean up and server-side validation.