By using this this syntax,it will work:
"{% static 'theme/one page base/bgimages/' %}/"+num+".jpg"
Domanda
I want to access the images in the static folder the image name is coming dynamically.
I am using this syntax:
"{% static 'theme/one page base/bgimages/"+num+".jpg' %}"
where num is a random number calculated at runtime using javascript. but it is not working
Soluzione
By using this this syntax,it will work:
"{% static 'theme/one page base/bgimages/' %}/"+num+".jpg"