Preview Icon for .zip file

2 posts, 0 answers
  1. Simone
    Simone avatar
    1 posts
    Member since:
    May 2013

    Posted 15 May 2013 Link to this post

    Hello everybody,

    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:
    1. Take a snapshot of the object (menu or any other things)
    2. 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)
    3. Link the snapshot to the class CSS of the object
    4. Go to the export manager
    5. 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.

    Thank you

  2. Vessy
    Vessy avatar
    1350 posts

    Posted 20 May 2013 Link to this post

    Hi Simone,

    You could use the custom-thumbnails approach, discussed in the following forum threads:
    Replacing thumbnail functionality

    All the best,
    Veselina Raykova
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top