It turns out that I can not make it show me as a url when I concatenate the url images/
that is the folder that I have to put images, the code that armo is the following.
carouselImagen+= '<div class="carousel-item active" id="plantillaCarousel">'+
'<div class="view" style="background-image: url("images/'+data.carousel[i].imagen+'"); background-repeat: no-repeat; background-size: cover;">'+
'<div class="mask rgba-black-light d-flex justify-content-center align-items-center">'+
'<div class="text-center white-text mx-5 wow fadeIn">'+
'<h1 class="mb-4"><strong>'+data.carousel[i].tituloImagen+'</strong></h1>'+
'<p class="mb-4 d-none d-md-block">'+
'<strong>'+data.carousel[i].descripcion+'</strong></p></div></div></div></div>';
If you see well the part style="background-image: url("images/'+data.carousel[i].imagen+'");
generates it in the following way
<div class="carousel-item" id="plantillaCarousel">
<div class="view" style="background-image: url(" images="" 1.jpg");="" background-repeat:="" no-repeat;="" background-size:="" cover;"="">
<div class="mask rgba-black-light d-flex justify-content-center align-items-center">
<div class="text-center white-text mx-5 wow fadeIn">
<h1 class="mb-4">
<strong>Titulo de Imagen</strong></h1>
<p class="mb-4 d-none d-md-block">
<strong>Descripcion de la imagen</strong>
</p>
</div>
</div>
</div>
</div>
Then I want to know if something should be done to concatenate there
PS: I'm using jquery and for the design using material design Bootstrap oriented