Update on sharing buttons; fix for image types on diploma.php