My Django 1.1 app uses dynamic images. I m confused about why the path generated from my template tag: {{image_product.photo.path}}
looks correct, but does not display the requested image.
This generates a path that works:
src= /media/{{image_product.photo}} => <img src= /media/lcdtvs/product1.jpg >
This DOES NOT work:
src= {{image_product.photo.path}} => <img src= /Users/Bryan/work/review_app/media/lcdtvs/product1.jpg >
I checked to confirm that the Absolute path generated from MEDIA_ROOT is correct on my computer and it works fine.
Why would the image not display correctly?