smush no media folder images

we are trying out the pro version of smush. we have some dynamic pages as part of some custom functions. these pull files we ftp to wordpress that aren't in the media folder. is there a way to smush these too? they reside in a folder on the website but not in wp-content upload folders