added hook to get config so we are able to put the config in a file instead of the database
added a extra option to hide some image crops at certain page types