Package: imageindex
Version: 1.1-1
Severity: normal

If an image filename contains several "." characters, the slideshow
and index generation fail.

For example, I have filenames like "20080728.214204.jpg"
(date.time.jpg) in a directory.  When imageindex generates index.html,
each of those files is linked from the image like this:

<A HREF="slides/20080728.html" NAME="20080728.205804.jpg"><IMG
SRC="thumbnail/20080728.205804.jpg" WIDTH="200" HEIGHT="133" ALT="
20080728.205804.jpg " CLASS="index"></A>

Note that the HREF should be "slides/20080728.214204.html" instead.
As is, every thumbnail links to a slide containing the last picture of
the day (given my filename convention).  Of course, the slideshow view
is affected by this bug as well.

Here is my .imageindexrc in full:

print "Loading my local config...\n";

$do_reverse = 0;

$default_titletext = "Happy Birthday Jen!";
$framedateformat = "%F";
$frametimeformat = "%H:%M:%S";
$indexdateformat = "%F";
$indextimeformat = "%H:%M:%S";
$slidedateformat = "%F";
$slidetimeformat = "%H:%M:%S";
$detaildateformat = "%F";
$detailtimeformat = "%H:%M:%S";
$slide_caption = 'bottom';
undef $framethumbtitle;
undef $indexthumbtitle;
undef $slidethumbtitle;
undef $detailthumbtitle;
$med_x = 800;
$med_y = 800;
$default_thumbnail_x = 200;
$default_thumbnail_y = 200;
$thumb_quality = 85;
$med_quality = 85;
$do_emoticons = 0;
$montage_fill = '';
$emptycell = "";

            $stylesheet = '
            body { color: white; background: black; }

            /* Fonts in the title */
            h1.title { text-align: center; }
            h2.daterange { text-align: center; }
            h3 { text-align: center; }

            /* Photo captions & Directory titles */
            div.caption { font-weight: bold; margin: 1em; }

            /* Overall fonts on the index and details page */
            div.index { font-size: 80%; }
            div.detail { font-size: 80%; }
            div.credits { font-size: 80%; text-align: right; margin: 10px }

            /* Table attributes */
            table.index { background: black; border: none;
                          border-spacing: 8px; }
            td.index { border: none; padding: 3px }
            table.frame { background: black; border: none }
            td.frame { border: none; padding: 0px }

            /* Image attributes */
            img.index { border: none; }
            img.slide { border: none; }
            img.frame { border: none; }


           ';


1;


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages imageindex depends on:
ii  imagemagick         7:6.3.7.9.dfsg1-2+b2 image manipulation programs
ii  libimage-info-perl  1.28-1               allows extraction of meta informat
ii  perl-base           5.10.0-11.1          The Pathologically Eclectic Rubbis
ii  perlmagick          7:6.3.7.9.dfsg1-2+b2 Perl interface to the libMagick gr

imageindex recommends no packages.

Versions of packages imageindex suggests:
ii  mplayer         1:1.0.rc2svn20080706-0.1 The Ultimate Movie Player For Linu

-- no debconf information



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

Reply via email to