Your message dated Thu, 25 Aug 2005 13:32:09 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#323631: fixed in bins 1.1.29-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 17 Aug 2005 17:11:12 +0000
>From [EMAIL PROTECTED] Wed Aug 17 10:11:12 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp-out3.blueyonder.co.uk [195.188.213.6] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E5RRY-0007Lj-00; Wed, 17 Aug 2005 10:11:12 -0700
Received: from arthur ([82.33.127.97]) by smtp-out3.blueyonder.co.uk with 
Microsoft SMTPSVC(5.0.2195.6713);
         Wed, 17 Aug 2005 18:11:54 +0100
Received: from malcolm by arthur with local (Exim 4.52)
        id 1E5RRj-0000SY-4o; Wed, 17 Aug 2005 18:11:23 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Malcolm Parsons <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: bins: javaScriptPreloadImage preloads the wrong sized image
X-Mailer: reportbug 3.15
Date: Wed, 17 Aug 2005 18:11:23 +0100
Message-Id: <[EMAIL PROTECTED]>
X-OriginalArrivalTime: 17 Aug 2005 17:11:54.0475 (UTC) 
FILETIME=[C438A3B0:01C5A34E]
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: bins
Version: 1.1.28-1
Severity: normal
Tags: patch

The doc says that javaScriptPreloadImage preloads the next image of the
same size:

javaScriptPreloadImage
    If  set  to  1,  add  some javascript code in image pages to
    preload the next image of the same size when current one  is
    loaded, to speed up the album browsing.

It actually preloads the next image at maximum size, slowing down album
browsing.

Patch based on the other use of $sizeLink in bins:

             #my ($xbase, $xpath, $xtype) =
             #fileparse($imagesToDisplay[$nextImageNum], '\.[^.]+\z');

             my $sizeLink = $imageData[$nextImageNum]->{'maxSize'};
+            if ($sizeLink >= $size ) {
+                $sizeLink = $size;
+            }

             $imageData[$i]{$j}{'nextHTML'} =
                 getHTMLImagePageLink($imageData[$nextImageNum], $j,
                                     $nextImageNum);

             $imageData[$i]{$j}{'preloadIMG'} =
                 jssafe_uri_escape($imageData[$nextImageNum]{'basename'})."_".
                 $imageData[$nextImageNum]{configuration}{sizeNames}[$sizeLink].

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages bins depends on:
ii  libhtml-clean-perl          0.8-8        Cleans up HTML code for web browse
ii  libhtml-parser-perl         3.45-2       A collection of modules that parse
ii  libhtml-template-perl       2.6-2        HTML::Template : A module for usin
ii  libimage-info-perl          1.16-2       allows extraction of meta informat
ii  libimage-size-perl          2.992-1      determine the size of images in se
ii  libio-string-perl           1.05-1       Emulate IO::File interface for in-
ii  libjpeg-progs               6b-10        Programs for manipulating JPEG fil
ii  liblocale-gettext-perl      1.05-1       Using libc functions for internati
ii  libtext-iconv-perl          1.4-1        converts between character sets in
ii  libtimedate-perl            1.1600-4     Time and date functions for Perl
ii  liburi-perl                 1.35-1       Manipulates and accesses URI strin
ii  libxml-grove-perl           0.46alpha-11 Perl module for accessing parsed *
ii  libxml-handler-yawriter-per 0.23-5       Perl module for writing XML docume
ii  libxml-perl                 0.08-1       Perl modules for working with XML
ii  libxml-writer-perl          0.600-1      Perl module for writing XML docume
ii  libxml-xql-perl             0.68-4       Perl module for querying XML tree 
ii  perlmagick                  6:6.2.3.6-3  A perl interface to the libMagick 

bins recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 323631-close) by bugs.debian.org; 25 Aug 2005 20:42:21 +0000
>From [EMAIL PROTECTED] Thu Aug 25 13:42:21 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E8OOP-0004j9-00; Thu, 25 Aug 2005 13:32:09 -0700
From: Martin Michlmayr <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#323631: fixed in bins 1.1.29-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 25 Aug 2005 13:32:09 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: bins
Source-Version: 1.1.29-1

We believe that the bug you reported is fixed in the latest version of
bins, which is due to be installed in the Debian FTP archive:

bins_1.1.29-1.diff.gz
  to pool/main/b/bins/bins_1.1.29-1.diff.gz
bins_1.1.29-1.dsc
  to pool/main/b/bins/bins_1.1.29-1.dsc
bins_1.1.29-1_all.deb
  to pool/main/b/bins/bins_1.1.29-1_all.deb
bins_1.1.29.orig.tar.gz
  to pool/main/b/bins/bins_1.1.29.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martin Michlmayr <[EMAIL PROTECTED]> (supplier of updated bins package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 25 Aug 2005 19:45:44 +0100
Source: bins
Binary: bins
Architecture: source all
Version: 1.1.29-1
Distribution: unstable
Urgency: low
Maintainer: Ludovic Rousseau <[EMAIL PROTECTED]>
Changed-By: Martin Michlmayr <[EMAIL PROTECTED]>
Description: 
 bins       - Generate static HTML photo albums using XML and EXIF tags
Closes: 323631
Changes: 
 bins (1.1.29-1) unstable; urgency=low
 .
   [ Martin Michlmayr ]
   * New upstream release.
     + Adds a search engine.
     + New templates "mwolson" and "martin".
     + Default template renamed to "swigs".
     + javaScriptPreloadImage preloads the right image now.  Closes: #323631.
     + Add a directory with various tools.
   * debian/control (Depends): Add libtext-unaccent-perl (required by
     the search engine).
   * debian/patches/05_install.sh.dpatch: Remove, applied upstream.
   * debian/patches/08_bins.dpatch: Likewise.
   * debian/patches/10_bins.dpatch: Likewise.
   * debian/patches/11_bins.dpatch: Likewise.
   * debian/patches/12_codeset_warning.dpatch: Likewise.
   * debian/patches/00list: Remove above patches.
   * debian/rules (install): Install tools in an example directory.
   * debian/rules (install): Manually install bins_cleanupgallery since
     this is no longer done by upstream.
   * debian/patches/05_share-man.dpatch: Install man pages in the correct
     directory.
   * debian/patches/00list: List this patch.
Files: 
 3d22a6ad7f6ae3ba2d74ddf46ae2a5f7 655 web optional bins_1.1.29-1.dsc
 8493f55147a93a4a77b4721ef181dcc1 333040 web optional bins_1.1.29.orig.tar.gz
 7be701dbda76b971a756263e109302bd 9013 web optional bins_1.1.29-1.diff.gz
 ef10be323434dd3d85c961fb07a0815b 274220 web optional bins_1.1.29-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDDhIUKb5dImj9VJ8RAg5wAJ9xmf9KCgQcxeJB/btbZuy9IBRyCwCfdQQ/
ctrJC/Dp9aESJvc13ilpl6Q=
=8NeO
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to