Generate Embeddable Galleries with Weblery
There are quite a few open source solutions for creating standalone photo galleries, but what if you need to embed a handful of photos into a web page or a blog post? Weblery can help you with that. This relatively simple PHP-based software lets you set up a no-frills web-based gallery and embed it into a web page using a single line of code. Better yet, Weblery requires no database back end, so it's easy to deploy and maintain. To run Weblery on your server you need only two things: the Apache web server and PHP4 or PHP5 with the PHP GD extension.
To install Weblery, grab the latest version of the application from the project's website, unpack the downloaded archive, and move the resulting directory to the document root of your web server. Make the assets/album_cache directory writable by the server using the following command:
chown -R www-data:www-data assets/album_cache
To check whether everything works properly, point your browser to http://127.0.0.1/weblery/demo.php (replace 127.0.0.1 with the actual IP address or domain name of your server) and you should see a sample gallery.
Populating Weblery with photos couldn't be easier: just add photos to the albums directory and group them into folders, if necessary. Embedding a Weblery gallery into a web page is not difficult either: simply add the following line in the page where you want the gallery to appear:
<?php require_once('weblery.php'); ?>
In case your server runs PHP4, the embed code should be as follows:
<?php require_once('webleryphp4.php'); ?>
The configuration.php file offers a handful of options for your tweaking pleasure. All options in the file are commented, so you shouldn't have problems figuring what they do. Moreover, Weblery is supplied with a decent manual which can help you to get the most out of this excellent application.comments powered by Disqus
Version 16 of the popular Linux desktop reveals new tools, edge-snapping, and performance improvements.
Symantec says Linux-Darlioz burrows in through PHP.
Dell renews its quest for the ultimate developer machine.
Innovative back door looks like normal SSH traffic.
One of CeBITs most successful forums opens the new year with a new name. The popular Open Source Forum continues in 2014 under the name Special Conference: Open Source. This year, the forum will be bigger and offer a wider range of possibilities for sponsors.
New release offers better graphics drivers and expands filesystem support.
New mail protocol will shut out the NSA and prevent snooping on metadata.
A new web application helps users visualize distributed denial-of-service attacks.
Ubuntu 13.10 takes a step toward convergence, with lots of mobility, but Mir only partly here.
Galileo board is targeted to embedded developers and educational institutions.