use relative links on attachment view