feature #5157 improve advanced search view
feature #5157 make the old and new permalink works ie /Image/Id or /Media/Id