I need to find a way to have a preview of the file like img files.
To explain better.
I had developed a new innovative CMS and one of the feature inside it, is the option to export and import CSS style and functionality of every object in the page.
For example if I have a menu very cool, and I want to export the graphic style and the functionality (template) into my library, I just follow this sequence:
- Take a snapshot of the object (menu or any other things)
- Go to the style Editor (it's a CSS realtime editor like the classic toolbar of Word. You can edit any object's CSS just using mouse)
- Link the snapshot to the class CSS of the object
- Go to the export manager
- Select the object I want export (export in .zip file) and click ok
The problem is when I want to import a template of the Menu or the others objects.
Because in the FileExplorer, all the .zip file has the same icon.
I want to change the icon like the .jpg or .png files.
If I assign a single custom icon to any single .zip of the templates from windows or mac, is it possible to FileExplorer show the custom icon?
May be I have to find the CSS file of the img extension and use the same logic to overrite the CSS file of the .zip extension.