bug fix for uploading image in SSF template

Link to the bug : http://sunflower.sahanafoundation.org/eden/project/task/344
GCI task link : http://www.google-melange.com/gci/task/view/google/gci2014/5829498209566720