I am trying to resize images (logos) to a max of 150px width and 150px height. Since these images differ greatly in original width and height I would like to center the generated image and then fill the gaps with a background color.
What I would like to end up with is a 150px x 150px image every time with logo centered... is this possible with CE Image?
Here is my current tag.
{exp:ce_img:pair src="{logo}" max_height="150" max_width="150" crop="no"}
<img class="media-object" src="{made}" height="{height}" width="{width}" alt="{title}" />
{/exp:ce_img:pair}