Page 1 of 1

Mime Types & Icons

Posted: 30 Jul 2022, 11:08
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?

Re: Mime Types & Icons

Posted: 03 Aug 2022, 23:00
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