added resize_or_cat jinja filter to stop poor placeholders or errors.