Menu

IE7 - Thumbnail missing on 2nd Click on file

Help
2006-11-15
2013-03-21
  • alex schmid

    alex schmid - 2006-11-15

    On IE7 the thumbnail doesn't appear on the 2nd click on the filename.
    This behaviour can also be seen in the current demo on the projects homepage.

    Anyone found a solution ?

    Alex

     
    • Marek Blotny

      Marek Blotny - 2006-11-16

      Hello Alex,

      Thanks for reporting that issue ... to be honest no one haven't tested OFB with IE7 so I don't have any suggestion at the moment. But I'm going to install it on my computer during weekend, maybe after that I'll be able to help you somehow.

      btw, is there anyone else who was using OFB on IE7 and experienced the same problems?

      -- Cheers, Marek

       
    • Akira

      Akira - 2006-12-22

      Hey Marek,

      Yes, also testing it on IE7 and also encounterd the same problems.

      Regards, Maartem

       
    • Hải Đăng

      Hải Đăng - 2007-03-19

      Hi,
      I have same problems width IE7. Anyone have patch it?
      Regards.

       
    • Dyfrin

      Dyfrin - 2007-12-13

      I checked to see if it was a thumbnail issue, but alas it is not.

      pretty sure its in browser.js

      showDetails: function(entryName, relativePath) {
              entryName = unescape(entryName);
              relativePath = unescape(relativePath);
              this.log(2, "[Browser.showDetails] " + entryName);
             
              var entry = null;
             
              // relative path is set when link comes from tray
              if (Browser.showDetails.arguments.length == 2) {
                  entry = this.getFromTray(relativePath);
              } else {
                  if (this.entries == null) return;
                  entry = this.getEntryByName(entryName);
              }
             
              if (entry == null) { return; }
             
              var content = new Array();
              var counter = 0;
              var image = '';
             
              this.log(1, "[Browser.showDetails] entry.thumbnail: " + entry.thumbnail);
             
              if (entry.thumbnail) {
                  image = Builder.node('img',{className:'thumbnail', id:'thumbnailImage', border:2});
                  // preload image and then call back function
                  new ImagePreloader('index.php?action=GetThumbnail&filename=' + this.preparePath(entry.relativePath), this.onPreloadThumbnail);
                  this.log(1, "[Browser.showDetails] " + 'index.php?action=GetThumbnail&filename=' + this.preparePath(entry.relativePath));
              }
             
              var maxNameLength = 25;
             
              if (entry.name.length > maxNameLength) {
                  content[counter++] = Builder.node('li', this.getLabel('js_details_name') + " " + this.truncate(entry.name,maxNameLength) );       
              } else {
                  content[counter++] = Builder.node('li', this.getLabel('js_details_name') + " " + entry.name);
              }
             
              content[counter++] = Builder.node('li', this.getLabel('js_details_size') + " " + this.getHumanRedableSize(entry.size));
              content[counter++] = Builder.node('li', [this.getLabel('js_details_last_mod'), Builder.node('div', entry.lastModify)], "" );
              content[counter++] = Builder.node('li', this.getLabel('js_details_permissions') + " " + entry.permissions);
             
              // remove old data
              this.removeAllHTMLChildren(this.details);
             
              // dispaly data
              var basicInfo = Builder.node('ul',{className:''},content);
             
              if (entry.thumbnail) { this.details.appendChild(image); }
              this.details.appendChild(basicInfo);
          },

       

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.