Menu

#4 Default file icon

open
nobody
5
2002-10-02
2002-10-02
Anonymous
No

While the most ideal solution would be
the "checkimage" function without the apparent
overhead, another (temporary?) solution could be adding
a default icon for unknown file formats. I mean,
anything's better than the empty square!

Discussion

  • Serge van den Oever

    Logged In: YES
    user_id=529086

    That is the problem, the checkimage functionality checks if
    the image exists, and if not, it redirects to sa default image!

     
  • Serge van den Oever

    Logged In: YES
    user_id=529086

    That is the problem, the checkimage functionality checks if
    the image exists, and if not, it redirects to sa default image!

     
  • Serge van den Oever

    Logged In: YES
    user_id=529086

    That is the problem, the checkimage functionality checks if
    the image exists, and if not, it redirects to sa default image!

     
  • Serge van den Oever

    Logged In: YES
    user_id=529086

    I wish this could be done. Problem is that we have to render
    HTML code pointing to the image of the icon to display. We
    do this based on extension of the file. If the image does not
    exist the empty square is rendered. The CheckImage
    functionality is there to check for the existance of the iamge,
    and if it does not exist, another image is used. If browsers
    would support substitute images for non-existing images the
    problem would be solved!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.