title: Raphael.js - image with it's original width and height size?
body: <p>Hi RaphaelJS users =) ,</p>
  
  <p>I have maybe a dumb-ish question, but I can't seem to find the answer, the thing is, I'm trying to load/create an image with Raphael, that's fine, like this:</p>
  
  <pre><code>var image_1 = paper.image('/img/img1.jpg', 0, 0, 100, 100);
  </code></pre>
  
  <p>But as you can see, it always seems like you have to give the "width" and "height" properties, I already checked the documentation, but it's always short and not that's detailed, and I tried giving null parameters or empty parameters, but it doesn't work...</p>
  
  <p>So I'm wondering if there is actually a direct way in raphael to do this, or....<strong>do I have to always get those values before???</strong></p>
  
  <p>I mean, something like this?:</p>
  
  <pre><code>var imgURL = "../img/img1.jpg"
  
  var myImg = new Image();
  myImg.src = imgURL;
  
  var width = myImg.width;
  var height = myImg.height;
  
     //create the image with the obtained width and height:
      var image_1 = paper.image('/img/img1.jpg', 0, 0, width, height);
  </code></pre>
  
  <p>And so that way I load with the original size of the image and that kinda solves my problem, but....isn't there way inside Raphael to do this???</p>