bgoglin / llgal Goto Github PK
View Code? Open in Web Editor NEWCommand-line online gallery generator
Home Page: http://bgoglin.free.fr/llgal/
License: GNU General Public License v2.0
Command-line online gallery generator
Home Page: http://bgoglin.free.fr/llgal/
License: GNU General Public License v2.0
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>.
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?
llgal doesn't recognize webp as a picture file! That is tooo bad because webp files are 30% to 40% of the size of the equivalent quality jpeg files!
That is a big deal when you have many picture files.
SEE https://www.new-mexico.cactus-society.org/SiegfriedLodwig/index.html
Any chance that webp can be added??
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 ๐).
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:
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.
Attached typescript of failed session on Fedora 28 (Perl 5.26.2).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.