Code Monkey home page Code Monkey logo

llgal's Introduction

llgal is an easy and fast on-line gallery generator based on iGal.
Its primary goal is to NOT require any boring useless expensive feature
in your webserver, such as PHP, JavaScript, SQL, ...

Thus, llgal generates static web-pages.

llgal installation instructions
===============================

You don't care about this if you use Debian or Gentoo or any other
distribution that includes prepackaged llgal versions.

Run 'make' followed by 'make install' as root.
*Both* command-lines must use the same variables for configuring
installation paths.

By default, everything is installed in /usr/local/.
Most directories might be changed by overriding their default values
on the command-line.
For instance, a traditional installation (binary in /usr/bin, data in
/usr/share, and configuration in /etc) might be achieved with:

$ make PREFIX=/usr SYSCONFDIR=/etc MANDIR=/usr/share/man LOCALEDIR=/usr/share/locale
$ make install PREFIX=/usr SYSCONFDIR=/etc MANDIR=/usr/share/man LOCALEDIR=/usr/share/locale

If you don't want or can't install as root, you may use

$ make PREFIX=/home/login/where/you/want
$ make install PREFIX=/home/login/where/you/want

Note that 'make uninstall' (with same options) allows to uninstall.

llgal requirements
==================

llgal requires perl and imagemagick packages.
The following perl libraries are also needed:
* Image::Size
* URI
* Locale::gettext
These dependencies are automatically installed when installing
Debian or Gentoo prepackaged versions.

Additionally, some options (--cc, --ct and --exfi) require the following
library to extract tags from images:
* Image::ExifTool
If not installed, llgal with work fine as long as none of these options
is used. When on is called, llgal will issue an error message advicing
to install the library.


If you need to install these libraries by yourself, you may
for instance find them on CPAN:
* http://search.cpan.org/~exiftool/ for Image-Exiftool
* http://search.cpan.org/~rjray/ for Image-Size
* http://search.cpan.org/~gaas/ for URI
* http://search.cpan.org/~pvandry/ for gettext


If you experience any problem,
please see http://bgoglin.free.fr/llgal
or report to <llgal AT googlegroups.com>.

llgal's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

llgal's Issues

Environment variables don't alter internal paths

Upon doing a full install as per the README (using the environment variables suggested for a traditional install) llgal can't find its templates. It seems to still think they are in /usr/local/share, when I've installed them to /usr/share. Perhaps there's a hardcoded directory somewhere?

Allow for thumbnail_create_command to create thumbnails for movies too

I guess this is a feature request. Any chance that llgal could be given the option of using thumbnail_create_command to create thumbnails for movies (and not just images)? I feel that updating my wrapper script that I'm already using is likely cleaner than running a separate pass to create custom thumbnails prior to running llgal.

Maybe it could take the form of a image_thumbnail_extensions and movie_thumbnail_extensions that would represent the subsets of image_extensions/movie_extensions for which llgal would attempt to generate thumbnails for. I suppose something similar could happen for scaled images too, for orthogonality (though I personally don't need this bit ๐Ÿ˜›).

Add <!--IMAGE-LINK--> keyword for templates

To have more power in the templates, <!--IMAGE-LINK--> would provide the link to the image shown: .llgal/scaled_IMG_3832.JPG for example.

To let it work, I added a line in llgal.in right after line 1888:
$line =~ s/<!--IMAGE-LINK-->/$entry->{scaled_url}/g ;

I can see many use cases for it:

  • add a "download image" link
  • use another HTML code than the one provided by
  • etc.

I don't know if there is more work to implement it, except the documentation. I can build a pull request if you agree with it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.