Images with spaces in names - sporadic display
I have run data assist producing all pages, and I am having issues with the results page where I have taken the file field text result (the name of the file uploaded) and have changed that text to the relevant image... e.g.:
<div style="width:70px;height:70px;background-image:url(../imagesupload/<?php echo $row_rs_galleryimage['fld_giIMG']; ?>);">
Images used this way that have spaces in the name loose their link to the source file. By placing it as a stand alone image, the file displays fine.
My question is, is there a way to have an image names with spaces change to hyphens when being uploaded using DFP?