so when redirected on a file or image object, it is redirected to view on it, not the actual file