Böyle bir kod yazdım çalışıyor fakat imageSizes: [72, 144] Bu kod resmi bozuyor,bunu nasıl java kodları arasına ekleyebilirim?.Eklemeyince resim bulanık gözüküyor.

<script type='text/javascript'>//<![CDATA[
$(document).ready(function(){
    // the dimension of your content within the columns
    var areawidth = $('.item-thumbnail').width();
    $('.item-thumbnail').find('img').each(function(n, image){
        var image = $(image);
        var height = image.attr('height');
        var width = image.attr('width');
        var newHeight = (height/width * areawidth).toFixed(0);
        image.attr('width',areawidth).attr('height',newHeight);
        var greater = Math.max(areawidth,newHeight);
        image.attr({src : image.attr('src').replace(/s\B\d{3,4}/,'s' + greater)});
    });
});
//]]></script>
Değiştirmek istediğim kod
  <div class='item-thumbnail'>
    <a expr:href='data:post.url'>
      <b:include data='{image: data:post.featuredImage,imageSizes: [72, 144],imageRatio: &quot;1:1&quot;,sourceSizes: &quot;72px&quot;}' name='responsiveImage'/>
    </a>
  </div>