Forum:New window link for images?

Hi, I've used new window links for some of the external links and I wondered whether is there a way to use new window links for images? I've tried by using these functions

but it didn't work. Have anyone found a way to make it work? Thanks. DinoKev (talk) 16:21, May 19, 2012 (UTC)