Piwigo_logo

 

Piwigo is a free and open source photo gallery software for the web. It is similar to Flickr, a well known photo sharing website that allows us to share photos to our family, friends or to the public. If you have large collection of photos of your family or friends and want to share/store in your own server, then Piwigo is the best choice.

 

 

Features:

Add Photos
Photos can be added via a web form, with an FTP client software, with digiKam, Shotwell, Lightroom, iPhoto (Mac users), Aperture (Mac users) or mobile applications for iPhone/iPad and Android.

Multiple size
each photo is available in 9 sizes, from XXS to XXL, for improved compatibility with various screen resolutions (from smartphones to HDTVs).

Watermark .
Piwigo can automatically add a watermark on all photos, to protect photos against unwanted copy.

Albums. 
Each image is bound to one or more albums. Albums are hierarchical and there is no limit in depth.

Tags
An administrator describes photos with tags, then visitors can browse photos by tags or multiple related tags, for example “night + Paris + John”.

Calendar
Extracted from EXIF metadata, Piwigo knows the date of each photo and is able to display photos for a given day, month or year.

Themes
The appearance of the photo gallery is defined by the theme. There are various themes provided by the project community.

Plugins
Plugins expand capabilities of Piwigo. Example of plugins: YouTube, Vimeo, Dailymotion, Google Maps or displaying photos in a Lightbox.

Access control
Access control is handled by the user manager, restricting and granting varying levels of access to photos and albums.

Notification system
Users can be alerted of changes and updates through RSS feeds, E-mail or sharing on social networks Twitter, Facebook or Google+.

Videos
With the use of freely available extensions, Piwigo may also be used to handle videos

 

 

 

Prerequisites:

It’s web-based tool, we need a working LAMP stack. To install and configure LAMP server on CentOS, refer the following link.

https://sathisharthars.wordpress.com/2013/04/21/configuring-lamp-stack/

 
Make sure you have installed the following php extensions.

# yum install php-gd php-mysql
Edit php.ini file and set your time zone,

# vi /etc/php.ini

date.timezone = Asia/Kolkata

 

 

Create database for Piwigo

Log in to your mysql server.

# mysql -u root -p
mysql> create database piwigodb DEFAULT CHARACTER SET = ‘utf8’;
mysql> GRANT ALL ON piwigodb.* TO piwigouser@localhost IDENTIFIED BY ‘centos’;
mysql> flush privileges;
mysql> exit

 

Screenshot-2

 

 

Installing Piwigo

Go to the Piwigo download page and get the latest version.

Extract the downloaded zip file

# unzip piwigo-2.6.1.zip
# mv piwigo/ /var/www/html/piwigo

# chmod -R 755 /var/www/html/piwigo/_data/
# chmod -R 755 /var/www/html/piwigo/upload/
# mkdir /var/www/html/piwigo/local/watermarks
# chmod -R 755 /var/www/html/piwigo/local/watermarks/

 

Screenshot-3

 

 

Begin Piwigo Installation

Open your web browser and point to http://(ip-address or domain-name)/piwigo.

 

Enter your database details which we created earlier and setup administrative user and password. Finally click Start Installation.

Screenshot-4

 

Congratulations! Piwigo has been installed.

Screenshot-5

 

 

Click on the Link that says: Visit the gallery or navigate to http://(ip-address or domain-name)/piwigo to visit the main page. Enter the username and password that you created in the previous steps.

 

Initially, we don’thave any images. So let us upload some photos first. Click on the link that says: I want to add photos.

Create Albums.

 

Screenshot-6

 

Screenshot-8

 

 

Screenshot-9

 

 

 

We can directly add images to our account or create one or more Albums to organize your photos. Make sure you are logged-in as the administrative user to create/edit/delete albums.

 

Like this way you can create as many as albums you want. Also it’s possible to create unlimited sub albums under one album.

Screenshot-10

 

Once the albums are created, let us upload some images to the albums. We can upload photos with the web form, any FTP client or a desktop application like digiKam, Shotwell, Lightroom, iPhoto, Aperture. iPhone/Android applications.

 

Also you can make your photos private and decide who can see each of them using the Manage Permissions link under the Select files section. You can set permissions on albums and photos, for groups or individual users.

 

Screenshot-11

 

If you want to change your Piwigo site name, image sizes, themes and can enable watermark options in the Configuration section.

Once you done photo uploading and all necessary configurations, log out from the admin user.

 

Screenshot-12

 

 

 

Adding firewall rules:

#vi /etc/sysconfig/iptables

-A INPUT -p udp -m state –state NEW –dport 80 -j ACCEPT
-A INPUT -p tcp -m state –state NEW –dport 80 -j ACCEPT
save it

#/etc/init.d/iptables save
#/etc/init.d/iptables restart

that’s it, now enjoy uploading your group photos for sharing….