enable image resizer to work on files in addition to temp objects