Hi,
<blockquote>
<div class=”brick brick-big”>
<div class=”brick-img” style=”height: 444px;”>
</blockquote>
It’s module type of “Articles Category” – using layout “brick-2-big.php”.
<blockquote>
The Height: 444px actually prevent image to be dynamically adjusted in height, which force us to size image square. I need to delete it (on make it auto) but I can’t find it in any php files.
</blockquote>
You can open file “templates/ja_argo/html/mod_articles_category/brick.php” find code :
[PHP]
<script type=”text/javascript”>
/* Update height for brick-img */
/*
jQuery(window).bind(‘layout-update’, function () {
var $ = jQuery;
$(‘.brick-img’).each(function(){
$(this).css(‘height’, $(this).width());
});
});
*/
jQuery (document).ready(function($){
updateHeight = function(){
$(‘.brick-img’).each(function(){
$(this).css(‘height’, $(this).width());
});
}
updateHeight();
$(window).bind(‘resize’, updateHeight);
})
</script>
[/PHP]
We’re using javascript for auto equal height of div with class “brick-img”.
<blockquote>
Or is there a way to “crop” image to use that ratio? Else right now, it always has huge white space between row (most image are rectangular, not square)
</blockquote>
Because it’s default module of joomla. You need to make your own customization to achieve that.
Regards