Views insert current page node id to image link url
If you have a Contextual Filter in place for Content: Nid that is pulling in the nid from the currently viewed page, can


Add a field for your image
Choose Image for the formatter.  Configure the image style that you want.
Link image to Nothing
In Rewrite Results, check Output this field as a link
In the link path, use form?edit[field_whatisrefferaelid][und][0][value]=!1
Check Use absolute path


The !1 is the replacement pattern for the first contextual filter.  It should be listed in the list of replacement patterns in the popup you do the configuration from.

That shuld