Deprecated: Function ereg() is deprecated in /home3/vvaswani/db-mysql.php on line 174

Deprecated: Function split() is deprecated in /home3/vvaswani/public_html/community/columns/trog/article.php on line 101

Deprecated: Function eregi_replace() is deprecated in /home3/vvaswani/sql.php on line 301

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home3/vvaswani/public_html/community/columns/trog/article.php on line 107

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home3/vvaswani/public_html/community/columns/trog/article.php on line 109

Deprecated: Function ereg_replace() is deprecated in /home3/vvaswani/public_html/community/columns/trog/article.php on line 124

Deprecated: Function ereg_replace() is deprecated in /home3/vvaswani/public_html/community/columns/trog/article.php on line 125

Deprecated: Function split() is deprecated in /home3/vvaswani/public_html/community/columns/trog/article.php on line 127

Deprecated: Function ereg() is deprecated in /home3/vvaswani/db-mysql.php on line 174

Deprecated: Function ereg() is deprecated in /home3/vvaswani/db-mysql.php on line 174

Deprecated: Function ereg() is deprecated in /home3/vvaswani/db-mysql.php on line 174

Deprecated: Function ereg() is deprecated in /home3/vvaswani/db-mysql.php on line 174

Deprecated: Function ereg() is deprecated in /home3/vvaswani/db-mysql.php on line 174

Deprecated: Function ereg() is deprecated in /home3/vvaswani/db-mysql.php on line 174

Deprecated: Function ereg() is deprecated in /home3/vvaswani/db-mysql.php on line 174

Deprecated: Function ereg() is deprecated in /home3/vvaswani/db-mysql.php on line 174

Deprecated: Function ereg() is deprecated in /home3/vvaswani/db-mysql.php on line 174

Deprecated: Function ereg() is deprecated in /home3/vvaswani/db-mysql.php on line 174
The Melonfire Community - Trog
Logo         Community
  Trog
Services
The Company
Community
Columns
Your Account
Contact Us
 
 
The Big Picture (A YaPIG Primer)
Take your photos to the Web with YaPIG.

| The Big Picture |

YaPIG, which stands for Yet Another PHP Image Gallery, is software that allows you to create online photo albums from your digital images. It provides a simple, user-friendly repository for images, allowing users to quickly publish their photos to a Web site, and viewers to post comments on the images. YaPIG also supports multiple galleries and passwords, making it possible to restrict users to viewing specific albums only.

YaPIG doesn't use complex SQL and so only requires you to make changes to a configuration file to get up and running. It does, however, require you to have the GD library installed as part of your PHP build; the program uses this to automatically build thumbnails of your photos and display them in a menu for easy selection. User comments are stored in text files within the gallery directory (this differs from other image galleries, which use MySQL as the storage area for user comments - personally, I prefer YaPIG's approach), and the application takes care of linking each comment with its respective image. Finally, counters track page views on a per-gallery and per-image basis, allowing you to easily build statistics about the popularity of your galleries.

One of the things I liked most about YaPIG is its simplicity. It took me only a couple of minutes to set up the package and - since the package does not need a MySQL database - I didn't have to worry about creating special database access rights for it either. A friendly Web-based administration tool makes it easy to create, edit and delete photo galleries, and everyone I showed it to liked the simple navigation and easy-to-use interface. Finally, I liked the fact that individual users could post comments on each image - this allowed my friends and family to comment on everything from my weight to my dress sense (as well as read each other's views), and added to the interactivity of the whole experience.

If you're a shutterbug, or just have lots of pictures to show off, you're going to want to install YaPIG on your Web server, so that you have a central place to manage and share your images. The application is fairly easy to install and use, and is well-suited to small- and medium-size image galleries. If you've never used a tool like this before, you might think it unnecessary - but use it a couple of times, and you'll quickly come to appreciate it.


How to do Everything with PHP & MySQL
How to do Everything with PHP & MySQL, the best-selling book by Melonfire, explains how to take full advantage of PHP's built-in support for MySQL and link the results of database queries to Web pages. You'll get full details on PHP programming and MySQL database development, and then you'll learn to use these two cutting-edge technologies together. Easy-to-follow sample applications include a PHP online shopping cart, a MySQL order tracking system, and a PHP/MySQL news publishing system.

Read more, or grab your copy now!


previous page more like this  print this article  next page
 
Search...
 
In trog...
Logging With PHP
Building A Quick-And-Dirty PHP/MySQL Publishing System
Output Buffering With PHP
Date/Time Processing With PHP
Creating Web Calendars With The PEAR Calendar Class
more...
 
In the hitg report...
Crime Scenes
Animal Attraction
Lord Of The Strings
more...
 
In boombox...
Patience - George Michael
Think Tank - Blur
My Private Nation - Train
more...
 
In colophon...
Hostage - Robert Crais
The Dead Heart - Douglas Kennedy
Right As Rain - George Pelecanos
more...
 
In cut!...
American Chai
The Core
Possession
more...
 
Find out how you can use this article on your own Web site!


Copyright © 1998-
Strict Standards: mktime(): You should be using the time() function instead in /home3/vvaswani/public_html/community/columns/trog/article.php on line 731
2017 Melonfire. All rights reserved
Terms and Conditions | Feedback