Announcement

Collapse
No announcement yet.

V4.25: Saving Thumbs as HTML does not work

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

    Reported V4.25: Saving Thumbs as HTML does not work

    Vista Ultimate - Windows 7 Ultimate - InfranView 4.25

    I open InfranView Thumbnails.
    I then select multiple jpeg files
    I the go to File=>Save selected thumbs as HTML file...
    I then change the Main result HTML file name, the destination folder, the Page title and the Columns (3).
    I then click Start
    The result is 3 files per selected jpeg file - a HTML file, a jpeg file with the picture, and a _t jpeg file with the thumbnail of the picture. Thes are fine.
    The other file created is the HTML file that should contain the thumbnails with links to the HTML file pointing to the picture. This file is broken. It only contains the header and footer with a broken link. The code is:
    ========================
    #IMAGE_BEGIN#
    <TD ALIGN=CENTER VALIGN=BOTTOM><FONT face="Verdana, Arial, Helvetica, Sans-Serif" size="-2">
    <A HREF="#LINK#" target="#TARGET#" style="text-decoration:none"><IMG SRC=#THUMB# BORDER="0" ALT="#ALT_TXT#">
    <div style="text-align: #TXT_ALIGN#">#IMAGE_TEXT#</div></A></FONT></TD>
    #IMAGE_END#
    =========================
    I uploaded the HTML file.

    Let me know if you need more information.

    Jim
    Last edited by jwelborne; 12.10.2009, 03:05 PM.

    #2
    No problem here. Perhaps you should try reinstalling.

    The IrfanView template used for the thumbnail.html file is attached. Is it the same as the one in your installation folder? Extension is changed from html to txt to enable uploading.
    Attached Files
    Before you post ... Edit your profile • IrfanView 4.62 • Windows 10 Home 19045.2486

    Irfan PaintIrfan View HelpIrfanPaint HelpRiot.dllMore SkinsFastStone CaptureUploads

    Comment


      #3
      Re-install Worked

      I tried reinstalling before to no avail. This time I re down;oaded and reinstalled and it is working.

      Thanks,
      Jim

      Comment


        #4
        I'm having this problem too - the Thumbnails.html page is broken. The place holders aren't expanded, and there's only one place a thumbnail could be - and it isn't showing one.

        I had this working fine at work on Monday, though I'm not sure what version of Irfanview is on that PC. I'm trying to make some changes at home, and it just won't work for me. I've just reinstalled 4.25 again and it hasn't made any difference.

        I'm using my own modified version of the standard template, but it works fine at the office but not on my home PC. The main part of the thumbnails page looks like this:

        music (that's the title - the only bit of the template that's expanded properly)
        #IMAGE_BEGIN#
        #IMAGE_END#
        [empty box for a thumbnail image]
        #IMAGE_NAME#

        - there should be 13 thumbnails on that page.

        Both PCs in question have Windows 2000, SP4+rollup updates.

        Comment


          #5


          Ok here is the wierd part of this problem:

          The first time I run the program after installation the window looks like the
          1stRun.jpg file I attached and the HTML file is OK. The second time I run the program the window looks like the 2ndRun.jpg file attached and the HTML file is broken.

          Both windows show the version to be 4.25 in Help/About.

          How can this happen?

          Jim
          Attached Files
          Last edited by jwelborne; 24.10.2009, 02:12 AM.

          Comment


            #6
            jwelborne,

            Did those pictures come out the way you intended? I just see pictures of two mostly black windows, with a tool/menu bar at the top.

            I think I've figured out the problem I was having. The templates I made were for an earlier version (I've lost track of which one I had) and just don't work properly with 4.25, which is a shame because it means more work, but I expect there's some reason for it. The supplied template does work so I'll just have to copy and edit that to make it the way I wanted it for this project.

            I expect I'll get round to that some time this week so I'll post how it went in this thread when I do.

            I've just tried exiting Irfanview after saving the thumbnails as html (with no separate html page for each image, in this case), and repeating the process. It worked consistently for me, with the template that came with 4.25.

            Comment


              #7
              Images

              Yes, the images were correct. If you look closely the tool bars are completely different.

              Jim

              Comment


                #8
                Okay. Mine looks like this.

                I have Windows 2000, so it looks like it draws the tool bar different for different versions of Windows. Maybe it showed you the XP one and the Vista one at different times?
                Attached Files

                Comment


                  #9
                  I finally got round to looking at this problem again. The solution is actually very simple:

                  In the older versions of Irfanview, the table of thumbnails was expanded using

                  #IMAGE_BEGIN#
                  <TD ALIGN=CENTER VALIGN=top><A HREF="#LINK#" target="#TARGET#" style="text-decoration:none"><IMG SRC=#THUMB# BORDER="0" ALT="Click to enlarge image">
                  <div style="text-align: #TXT_ALIGN#" class="thumbCaption">#IMAGE_NAME#</div></A></TD>
                  #IMAGE_END#

                  (that's from my problem thumbnails page)

                  Now it has to be like this:

                  %IMAGE_BEGIN%
                  <TD ALIGN=CENTER VALIGN=BOTTOM><FONT face="Verdana, Arial, Helvetica, Sans-Serif" size="-2">
                  <A HREF="#LINK#" target="#TARGET#" style="text-decoration:none"><IMG SRC=#THUMB# BORDER="0" ALT="#IMAGE_NAME#">
                  <div style="text-align: #TXT_ALIGN#">#IMAGE_TEXT#</div></A></FONT></TD>
                  %IMAGE_END%

                  (that's from the example template, shipped with 4.25)

                  All we have to do is change the #;s to %'s, just on the IMAGE_BEGIN and IMAGE_END tokens. I've done that to my template and it works now.

                  Maybe this is documented somewhere, but who reads documentation for a program they're already used to using?

                  Comment

                  Working...
                  X