Perl script that scans a directory containing JPEGS and generates an index.html file and thumbnails

Steinar Bang 5f5d495f1f Attempt to fix the regexp replace for removing leading directories in the start 1 year ago
LICENSE ea75ed28c6 Initial commit 1 year ago
README.org ea75ed28c6 Initial commit 1 year ago
mkpicidx.pl 5f5d495f1f Attempt to fix the regexp replace for removing leading directories in the start 1 year ago

README.org

Picture index generation script

This is a perl script that scans a directory containing JPEG files, and generates an index.html listing the files and thumbnails to display in the index.html file.

Usage on a debian system

    Procedure:
  1. Clone the git repo
  2. #+begin_example mdir -p ~/git cd ~/git/ git clone https://github.com/steinarb/mkpicidx.git #+end_example
  3. Install the prerequisites
  4. #+begin_example apt update apt install perl netpbm libjpeg-tools #+end_example
  5. Go to a directory containing JPEGs and run the script with the full path to the script
  6. #+begin_example cd ~/Pictures/ ~/git/mkpicidx/mkpicidx.pl #+end_example

License

This is free software under the Apache License v2, copyright myself, Steinar Bang.

See the LICENSE file for details.