updates to make it work
fixed the add link class
added addLink class to edit photos page.