I have python application one of the method returning list of file names in JSON format. I tried to bind the file names to local folder path when I render the template images are not loading in browser.
I tried several ways to bind the path
img src="./localpath/filename.png"
img src="localpath/filename.png"
imagename = os.path.join(os.getcwd(), 'foldername/'+ filename.png)
Even i tried to load image with local host static path but still unable to load images.
Can some one help me out on this?
Thanks In advance