PowellJayn
New Member
I used symfony 1.4 to make a basic form that contains an image upload widget, (which uploads the image just fine) but when I try to echo the image later on it doesn't show.This is the code I use to (try to) output my image:\[code\] <img src="http://stackoverflow.com/questions/15566257/<?php echo sfConfig::get('sf_upload_dir').'\\'.$post->getImagename() ?>" />\[/code\]A quick peek at firebug shows me that firefox "failed to load given url". but if I copy & paste the url into the address bar it loads the image just fine.(Please note, I am developing on a windows environment and my project directory contains no spaces.)Can anyone explain to me why this happens or what I am doing wrong?