JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-latest.min.js"></script>
<div>
</div>
<p>
</p>
<i>
</i>
CSS
div{
background-image: url(http://vatocc.net/function/file/get/get_file.php?file=/secure/user_img/background_img/1265024466.jpg&purpose=view&format=false);
}
JavaScript
var background = $('div').css('background-image'),
imgPath = background.substring(background.lastIndexOf("(")+2,background.lastIndexOf(")")-1);
var img = new Image;
img.src = imgPath;
$('i').html('Source: ' + img.src + 'Width: ' + img.width + ' Height: ' + img.height);