The second answer from the Question linked in the comments, Link here , provides a solution in which you load the background image into the image tag, and then when it's ready you enter the image in a div. Here is an example similar, but different:
HTML:
<img src="http://www.modernmythmedia.com/wp-content/uploads/2013/04/Iron-Man-wallpaper-2-2032-e1367196003357.jpg" id="dummy" style="display:none;" alt="" /> <div id="pic" style="height:100px;width:100px;display:none;"></div>
JQuery
$('#dummy').ready(function() { $('#pic').css('background-image','url(http://www.modernmythmedia.com/wp-content/uploads/2013/04/Iron-Man-wallpaper-2-2032-e1367196003357.jpg)'); $('#pic').fadeIn(1000); });
With a live preview here: Fiddle .
Hope it will be better for you!
source share