add validate-docname to default functions of validation.js
add link name and menu item for new image gallery