Thanks Richard I missed that closing bracket. I also missed them off the url CSS.
Thank you!
In general.css I tested to write
h1.headermain {
background: #fff url([[pix:theme|logo]]) no-repeat left top;
float: left;
height: 100px;
width: 350px;
margin-left: 25px;
padding-top: 30px;
}
It didn´t import the logo-image.
and in general.php I tested
<h1 class="headermain"><?php echo $OUTPUT->pix_url('logo', 'theme')?></h1>
which resulted in the following header:
http://www.varkstaden.se/logo/theme/image.php?theme=anomaly&image=logo&rev=281&component=theme