var boundx = $img.width(),
        boundy = $img.height(),

        $div = $('<div />')
            .width(boundx).height(boundy)