jquery width(); に問題があります。
HTML マークアップ:
<img height="300px" src="http://localhost/portfolio/wp-content/uploads/Alone.jpg" alt="Alone" title="Alone" />
Jクエリ:
var slide_width = 0;
$("#barely_slide article img").each(function(){
console.dir($(this).width());
});
console.dir(slide_width);
見ると、$(this)
clientWidth が正しい値を返し、offsetWidth も返されますが、これらには同等の jquery 関数がありません。