Modify img plugin to warp <img/> inside a </figure/>