Fixed the bug with alert
Used JQuery plug in to validate Photo Submit Form