Ugly erb conditional to get proper aspect ratio on product images