PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Icon for files with no file name extension?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Icon for files with no file name extension?

    Hi,
    I've been able to assign icons/images to results that are .pdf .asp. .xls etc. but I haven't figured out how to assign an icon to files with no Extensions. Any help appreciated. thanks.

  • #2
    We designed the feature to allow icons to be associated with file types. But if the file type of not known, then there is no way to associate an icon with it (except by doing some custom script changes).

    In most case these files without any extensions do in fact have an extension. For example, the most common case is a sites home page. The URL might look like this, http://www.site.com/ but in reality it is http://www.site.com/index.html (the file type of HTML).

    Comment


    • #3
      If you really want to assign an image to these pages without a file extension, you can consider using the ZOOMIMAGE meta tag, as explained in the FAQ here:
      Q. How do I associate a thumbnail with a particular page?
      --Ray
      Wrensoft Web Software
      Sydney, Australia
      Zoom Search Engine

      Comment


      • #4
        Sorry for joining the party a little late, but how would that work with extension-less pages?

        We are currently re-designing a site and employing URL rewriting and all the content pages will not have an extension.

        If possible, it would be nice to be able to have Zoom assume a 'default' image (if configured).

        Shawn

        Comment


        • #5
          The ZOOMIMAGE meta tag allows you to specify an image to be used for a particular page. This is a meta tag that would be specified within the HTML source code of the page. The above FAQ should provide more details. You would need to add this tag to all extension-less pages, if you want these pages to have the same image.

          The problem with assigning an image icon for all "extension-less" pages is that it can be misleading. For extensions, generrally, the icon is used to represent the file type (eg. a PDF document, a HTML file, etc.). But when there is no extension, the file could be any file type. It is dependent on your server configuration, for example http://www.mysite.com/test/ may be a URL to the page "index.html" or "index.php", etc.
          --Ray
          Wrensoft Web Software
          Sydney, Australia
          Zoom Search Engine

          Comment

          Working...
          X