Only show "photo" for image control, fixes #1092
Minor: adding local MySQL database