$(function(){

$(‘.some_block’).height($(‘.some_block’).width()/2.5);

$(window).resize(function(){ $(‘.some_block’).height($(‘.some_block’).width()/2.5); });

});