changed the extension from JPG to jpg in leftpanel.php