Add file extension (MIME) to download link
-
Hi Ashley,
firstly, thanks for an excellent plugin!
I was looking for this here and on your site as well but couldn’t find it mentioned anywhere, so I’m opening this thread then.
If possible, I would like the file extension of the download to be shown before the file size at the end of the download link. According to usability and accessibility guidelines, user should be presented with this info.
So the download link should look like this:
My excellent ebook (PDF, 1.3 MB)
Picture of my cat (JPG, 132 KB)As I’m not an PHP developer, I’m not sure about this but I think it should be possible to grab the file extension and display it—ideally all caps—in the link.
If this is somehow possible now, please let me know how. If not, consider this as a feature suggestion.
Thanks, have a great rest of the weekend!
Cheers,
Peter
- The topic ‘Add file extension (MIME) to download link’ is closed to new replies.