{% extends "cms_apphook.html" %}
{% load i18n %}
{% load thumbnail %}

{% block title %}{{ object.name }}{% endblock %}
{% block body-class %}projects{% endblock %}

{% block body %}
<div class="row">

{% if object.picture %}
  <div class="main col-md-9 col-md-push-3">
    {% with project=object %}
    {% include "organisation/project.html" %}
    {% endwith %}
  </div>
  <div class="sidebar col-md-3 col-md-pull-9">
    {% thumbnail object.picture "263" as im %}
      <img
        class="img-responsive"
        src="{{ im.url }}"
        alt="Logo/banner for {{ object.name}}">
    {% endthumbnail %}
  </div>
{% else %}
  <div class="main col-md-12">
    {% with project=object %}
    {% include "organisation/project.html" %}
    {% endwith %}
  </div>
{% endif %}
</div>
{% endblock %}

{% extends "cms_apphook.html" %}
{% load i18n %}
{% load thumbnail %}

{% block title %}{{ object.name }}{% endblock %}
{% block body-class %}projects{% endblock %}

{% block body %}
<div class="row">

{% if object.picture %}
  <div class="main col-md-9 col-md-push-3">
    {% with project=object %}
    {% include "organisation/project.html" %}
    {% endwith %}
  </div>
  <div class="sidebar col-md-3 col-md-pull-9">
    {% thumbnail object.picture "263" format="PNG" as im %}
      <img
        class="img-responsive"
        src="{{ im.url }}"
        alt="Logo/banner for {{ object.name}}">
    {% endthumbnail %}
  </div>
{% else %}
  <div class="main col-md-12">
    {% with project=object %}
    {% include "organisation/project.html" %}
    {% endwith %}
  </div>
{% endif %}
</div>
{% endblock %}

Use PNG thumbs to preserve transparency
organisation: Use PNG thumbs to preserve transparency

JPG thumbnails can't preserve the transparency that is used in many
project logos. Use PNG instead!
