Mime Types & Icons

Phoca Download - download manager
DavidLGCrawford
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 30 Jul 2022, 10:53

Mime Types & Icons

Post by DavidLGCrawford »

I am having trouble adding mime types and icons.
I created 3 icons for ebooks, icon-azw3.png icon-epub.png icon-mobi.png in the 4 sizes (16, 32, 48 & 64 pixels).
I added ,azw3,epub,mobi to Media -> Options -> "Allowed Extensions" as well as to "Legal Document Extensions (File Types)"
And I added ,application/epub,application/epub+zip,application/mobi to "Legal MIME Types"

PhocaDownload's options are set to
Allowed File Types Download & Upload fields have {epub=application/epub} {epub=application/epub+zip} {mobi=application/mobi} added
File Icon (Extension Mime Type) is set to YES

But those icons are not showing.

What am I doing wrong?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Mime Types & Icons

Post by Jan »

Hi, where do you want to display the icons. The rules, you have set are applied to documents which are downloadable per Phoca Download, not to visual design of the component. :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply