Set login email field type to email and fixed the post detail image popup file path.