Validate image height and width for Paperclip