I have a div where an image is generated.result
. I need to set a background image within that div that will act as a layer on top of the generated image. I have the following, but can't get the image to show:
image.appendTo($(".result"))
$button = $('<button class="btn btn-default remove">')
.text('Remove')
.on('click', function () {
image.remove();
$(this).remove();
return false;
});
$button.appendTo($(".result").css("background-image", "url('iphone_5.jpg') no-repeat").css("z-index", "1000"));
});
The image on the right in the screenshot is the rendered crop. You can see the image in the background(along the top and left border) that should sit on top of the rendered image.
http://www.w3schools.com/css/css_background.asp
or
like
or
ahh to slow :c