How to create dynamic link in views? I have created a page in Views, and the path is node/%/images. Now I want to put a dynamic link in the header. I want to link to http://www.example.com/node/add/album/[nid], where "[nid]" is the node ID of the node being viewed. How can I do this?



How do I add HTML tags to it? I want to make it as a image button.
arg(1) would be your friend here. In your view header definition (PHP format) put something like:

print l(t('Add album'), 'node/add/album/' . arg(1));