May 06, 2012 06:25 PM|eric_W|LINK
Found the problem.
First the \ in the link to the image must be a / otherwise it will be swapped to a . (dot)
Then I found out, the function is working fine, but the page refreshes after the imagebutton click, changing the image url to empty as it was before the click event.