LoginLogin  Blog About
Search:

Support » Knowledge Base » Files »

Adding custom icons for certain file types

When viewing the list of files inside any folder in WebAsyst Files you can see standard images (icons) next to the file names which depend on the file name extensions. Owners of WebAsyst scripts have the possibility to change icons for any file types as described below:

  1. Create 2 GIF files with the icon image of sizes 16*16 and 32*32 pixels. The files must have names of the form EXTENSION.win.SIZE.gif where EXTENSION stands for the type of files the icon has been created for (e.g., zip) and SIZE stands for the image size in pixels: 16 or 32. Below are examples of correctly named icon files created for ZIP files:

    zip.win.16.gif
    zip.win.32.gif

  2. Icon files should be uploaded to directory published/common/html/thumbnails/, existing files must be replaced.
Tip: Before uploading new icon files back up the original icons, you would be able to restore them at a later time should it become necessary.