Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > System > Shells

    bashgal 1.0

    Download button

    No screenshots available
    Downloads: 715  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.3/5)
    13 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Shapor Naghibzadeh | More programs
    GPL / FREE
    July 13th, 2008, 01:05 GMT
    ROOT / System / Shells

     Read user reviews (0)  Refer to a friend  Subscribe

    bashgal description

    bashgal is simple bash shell script that generates HTML thumbnail galleries using 'convert' and 'jhead'.

    bashgal is simple bash shell script that generates HTML thumbnail galleries using the "convert" and "jhead" command-line utilities. It requires no special server-side script to run to view image galleries because everything is pre-rendered.

    Here are some key features of "bashgal":

    · fixed-height thumbnails which fill the browser efficiently
    · multiple image sizes which can be switched between by the user at any time
    · css spriting of thumbnails to produce fewer server round trips and overall smaller data tranfer (see http://shapor.com/bashgal)
    · locally previewable galleries by accessing images locally (e.g. file:///home/shapor/pics/blah/index.html)
    · preloading of previous and next images using JavaScript. (This is *not* required and the gallery functions just fine without JavaScript).
    · JPEG header EXIF data extraction
    · auto-rotation of veritcal images

    This combination of features makes a better user experience than pretty much all the big online photo hosts. All you need is a place to host your
    plain html/jpeg files.

    Usage:

    bashgal [path]

    Without specifying a path, bashgal works in the current directory. Just load the [path]/index.html in a browser see the output. [path] should contain a bunch of jpeg files. It does not work recursively (yet).

    History

    bashgal started as an alias in my .bashrc because I got sick of typing a command which looked a lot like this every time I would upload a new set of photos to my server:

    $ for i in *.jpg; do convert -scale x100 $i t-$i; echo "" >>index.html; done

    Even this simple one-liner gives you a gallery which is better than the majority of the on-line photo hosts. One of my pet-peeves is a tiny window surrounded by white in my huge browser window, requiring me to scroll.

    Requirements:

    · GraphicsMagick
    · jhead



    Product's homepage

      


    TAGS:

    thumbnail galleries | gallery generator | generate HTML gallery | HTML | thumbnail | image

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM