Package: photon
Version: 0.4.4-1
Severity: normal

*** Please type your report below this line ***
If you run this command:
        photon --thumbsize=50x50 --sizelist=0 -o photon ../images
photon will create a gallery, and copy the images from the source
directory verbatim (without any modification). Now if these files are
different then jpeg files, the html generated files will contain only
.jpg extension. Therefore I can display the images in their original
size.

A workaround is to execute:
        for html in *.html ; do cat $html | sed -r \
        's,(original)/([0-9]+)-(projet-tuteure)\.jpg,\1/\2-\3.png,' \
        > $html ; done
afterwards.

Regards,
Mike
-- 
 Mike (m8t) Massonnet http://massonnet.org/     __oo 
 GnuPG 0--" 0xF8C80F97                      ---(_)_"> 
 C4DA 431D 52F9 F930 3E5B  3E3D 546C 89D9 F8C8 0F97 

Attachment: signature.asc
Description: Digital signature

Reply via email to