client side picture validation