• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to create Your Own Online Photo Gallery - Plogger

{{postValue.id}}

To create Your Own Online Photo Gallery Albums by using Plogger

Plogger is an PHP based open source, online photo gallery system, which is used for editing, creating and organizing photo album galleries. It offers several photo gallery functions like keyboard shortcuts for accessibility, custom gallery organization, RSS feeds and remote image uploads. In this article we will discuss how to use Plogger for creating Our Own Online Photo Gallery Albums.

Requirements of Plogger

  • PHP GD extension
  • Web Server &ndash Apache/Nginx
  • MySQL Version 5+
  • PHP Version 5+
  • Operating System &ndash Linux/Windows

Features

  • Plogger XML Service: Its inbuilt XML generator enables you to create widgets in any language.
  • Easy Administrator interface: It provides a user friendly admin panel, which enables you to insert or edit an image and also setup the size and the format of thumbnails.
  • Remote update your gallery: Allows you to update your gallery remotely from a software, which supports gallery protocol.
  • Easy to Configure: It is light weight and includes single step installation. Plogger contains attractive and secure administrative system.
  • Quick Photo Gallery Creation: With web administrative tool, upload photos in bulk or you can use FTP for importing photos.
  • Custom Themes: You can customize the theme, to look attractive and elegant.
  • JavaScript Slideshow: Albums can be viewed quickly as hands free JavaScript slideshow.

Installing Plogger

Plogger requires packages such as Apache, MySQL and PHP, if you have not installed then use the following commands.

user1@linuxhelp:~$ sudo apt-get install apache2 mysql-server php5 php5-mysql php5-gd
[sudo] password for user1: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  apache2-bin apache2-data apache2-utils libaio1 libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libdbd-mysql-perl libdbi-perl libhtml-template-perl liblua5.1-0
  libmysqlclient18 libterm-readkey-perl mysql-client-5.6 mysql-client-core-5.6 mysql-common mysql-server-5.6 mysql-server-core-5.6 php5-cli php5-common php5-json php5-readline
...
...
apache2_switch_mpm Switch to prefork
apache2_invoke: Enable module php5
Setting up php5 (5.6.11+dfsg-1ubuntu3.1) ...
Processing triggers for libc-bin (2.21-0ubuntu4.1) ...
Processing triggers for systemd (225-1ubuntu9.1) ...
Processing triggers for ureadahead (0.100.0-19) ...

user1@linuxhelp:~$ sudo service apache2 start
user1@linuxhelp:~$ sudo service mysql start

Grab the new version of Plogger script from the official website. www.plogger.org

Download Page

download imagedownload_page_1

Unpack the downloaded archive file using the below command.

user1@linuxhelp:~/Downloads$ ls -l
total 708
drwxr-xr-x  2 user1 user1   4096 Apr 17 03:57 ./
drwxr-xr-x 15 user1 user1   4096 Apr 17 03:56 ../
-rw-rw-r--  1 user1 user1 716441 Apr 17 03:57 plogger-1.0RC1.zip

user1@linuxhelp:~/Downloads$ sudo mv plogger-1.0RC1.zip /var/www/html/

user1@linuxhelp:~/Downloads$ ls -l /var/www/html/

total 720
drwxr-xr-x 2 root  root    4096 Apr 17 03:57 ./
drwxr-xr-x 3 root  root    4096 Apr 17 03:54 ../
-rw-r--r-- 1 root  root   11321 Apr 17 03:55 index.html
-rw-rw-r-- 1 user1 user1 716441 Apr 17 03:57 plogger-1.0RC1.zip

user1@linuxhelp:/var/www/html$ sudo unzip plogger-1.0RC1.zip 
Archive:  plogger-1.0RC1.zip
 extracting: .htaccess               
  inflating: gallery.php             
  inflating: index.php               
  inflating: LICENSE.txt             
   creating: plog-admin/
   creating: plog-admin/css/
  inflating: plog-admin/css/admin.css  
...
...
inflating: plog-thumb.php          
  inflating: plog-xml.php            
  inflating: plogger.php             
  inflating: readme.html             
  inflating: readme.txt    

Now connect to MySQL server and create Database and User.

## Connect to MySQL Server &  Enter Password (if any or leave blank)##
mysql -u root -p
Enter password:

## Creating New User for Plogger Database ##
CREATE USER plogger@localhost IDENTIFIED BY " your_password_here"  

## Create New Database ##
create database plogger 

## Grant Privileges to Database ##
GRANT ALL ON plogger.* TO plogger@localhost 

## FLUSH privileges ##
FLUSH PRIVILEGES 

## Exit ##
exit

After installation is completed, temporarily set 777 permission to the plog-content You can revert back to 755.

user1@linuxhelp:/var/www/html$ sudo chmod -R 777 plog-content/

change directory to plog-admin/includes

user1@linuxhelp:/var/www/html$ cd plog-admin/includes/
user1@linuxhelp:/var/www/html/plog-admin/includes$ ll
total 60
drwxr-xr-x 2 root root  4096 Oct 27  2009 ./
drwxr-xr-x 6 root root  4096 Oct 27  2009 ../
-rw-r--r-- 1 root root  5936 Jul  7  2009 install-form-setup.php
-rw-r--r-- 1 root root 42813 Oct 26  2009 install-functions.php

Now edit the install-functions.php

user1@linuxhelp:/var/www/html/plog-admin/includes$ sudo vim install-functions.php 

Replace the occurrences of “ Type=MyISAM” with “ Engine=MyISAM” and “ timestamp(14)” with “ timestamp” and finally save the file. Now begin the installation.

Next open your browser and execute the installation

http://localhost/plog-admin/_install.php

Plogger Configuration Setup

plogger config setup

Database details need to be entered and also set Admin password.

Download the plog-config.php configuration file and keep inside the Plogger directory and select the Proceed button.

user1@linuxhelp:/var/www/html/plog-admin/includes$ sudo mv /home/user1/Downloads/plog-config.php /var/www/html/

Plogger Configuration complete

Click click here and continue the installation process.

plogger complete

Plogger is successfully installed in your system .

plogger installed

Do not forget to CHMOD the plog-content directory to 0755.

user1@linuxhelp:/var/www/html$ sudo chmod 0755 plog-content/

Plogger Login screen

You can login using your username and password.

login screen

Now you have to choose an ZIP Archive or Image to upload images and also create galleries.

Upload Images

upload image

Photo Gallery

Now select the View tab to look at the Plogger.

photo gallery

Tags:
isaac
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What preventive measures are to be taken when I get "Failed to load resource:net::ERR_CONNECTION_REFUSED" in Plogger?

A

Seems like your firewall is preventing you from it. Check with the enabled security features.

Q

While accessing "Plogger" in browser interface it results in the blank page?

A

Please inspect the apache error log to find out what went wrong.

Q

Do I get support in creating widgets in multiple languages on Plogger?

A

Creating widgets can be achieved by "Plogger XML Service" Which has inbuilt XML generator enables you to create widgets in any language.

Q

What version of PHP is compatible for Own Online Photo Gallery?

A

Prefer using php 5.6 and above for installing Own Online Photo Gallery.

Q

What is the PHP extension should be enabled for installing this Own Online Photo Gallery?

A

It is mandatory to have "php5-mysql php5-gd" these extensions to be enabled for Own Online Photo Gallery.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Ryan ?
how to use visual traceroute tool

Am using traceroute command to check for the route. i got this tool while surfing. So pls help me out installation and usage of Visual traceroute tool.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.