I have a variable that I can display on the page by using the following
<script>document.write(image)</script>
I can copy the result to the browser and it displays the file I require.
What I want to do is to take that variable and use it to specify the src of my background image
`<p style="background-image: url(**image**);">`
I know that this is probably simple to you guys, but I have spent the whole day and am losing a lot of hair over this one. Thanks for your time....