dal momento che hai

Dim immagine as String = Server.MapPath(Request("img"))

dovrai usare

<a href="#"><img src='resize.aspx?img=/images/IM.........