I'm having a problem that seems very simple, but I can't figure out how to solve it.
When I use a template for custom output format from an #ask query, the first parameter is the result-page. When I pass this parameter to a Click template, the link there doesn't work because that template seems to expect a Pagename. Instead the link points to the picture.

Can anyone help?