It looks like you're new here. If you want to get involved, click one of these buttons!
Amazing! Sign our contributors' agreement and then join us on GitHub.
Vanilla Forums Senior Developer [GitHub, Twitter, About.me]
$DownloadUrl = Url(MediaModel::Url($Media));
$DownloadUrl = MediaModel::Url($Media);
I was having the same problem where the thumbnail was linking to a 404 page. Here's how I fixed it.Open FileUpload/views/link_files.phpOn line 19:Replace $DownloadUrl = Url(MediaModel::Url($Media));With $DownloadUrl = MediaModel::Url($Media);
What I said was the same stuff as maxor, but instead of removing Url, it was to change it to Asset.So filename and where to change is already described.The github stuff was not to be searched for or anything, it was for reference, that's all.
I think I recently saw a fix (on github, maybe not for this plugin) for something similar from Url to Asset, as Url was not OK for both nice URLs and not rewriten ones.Maybe you could try that too. As it should work for both types of URL.