SimpleCV

{% if img %}

{% else %}

Can't load image

{% endif %}