Hi, is there a way to preview files instead download? I mean, the url parameter of a FileField always redirect to download file. But in case of pdf or images I prefer to open them on the browser. Is there something like "myfile.preview_url" instead of "myfile.url"
Hi, is there a way to preview files instead download? I mean, the url parameter of a FileField always redirect to download file. But in case of pdf or images I prefer to open them on the browser. Is there something like "myfile.preview_url" instead of "myfile.url"
Thank you!