Put on some constraints on image badge + error displaying for this constraints + doc update