Added action mailer and popup box for images