I've been trying to deal with a huge problem which i cannot solve, i've been googleing and trying different techniques to get this to work.
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div style="background: url(<?php the_post_thumbnail( 'thumbnail' ); ?>
) !important;">adasdasdasd </div>
this returns a <img scr source when opening in chrome, how go i get the the_post_thumbnail to just give me the source of the file without <img scr?
Thanks in advance