Logo for new content type
Submitted by gro58 on Sun, 07/24/2022 - 19:43
Forums:
How do you add a logo to a new content type?
I looked at the repository of H5P.Blanks and discovered a file named "icon.svg",
but I had no result when searching this file name inside the *.js or *.json files of H5P.Blanks.
otacke
Mon, 07/25/2022 - 12:09
Permalink
Hi!That icon is not packed
Hi!
That icon is not packed inline into the code, but it needs to found in the main folder just where the `library.json` and `semantics.json` file are put. It will be read by H5P core, not by the content type itself.
Cheers,
Oliver