Well, we’ve finally completed our photo gallery! It’s been quite a trip. In the article, I started off by showing you how to create your own image sizing class that can be re-used for other projects involving image manipulation. You can add your own custom methods when needed. Database schemas were also provided, as well various scripts including the ability to add albums and images, edit albums and images, and uploading images to each of your albums. I’ve also introduced you to some of the basic functions of the powerful GD library. Not only could you use GD, but you could also make use of other various image-manipulating libraries, including Imagick, and ImageMagick.
Although this is a very basic photo gallery, in terms of the look and functionality, I’ve left it up to you to use your imagination on extending the functionality by adding your own custom features. You could add sub-albums within your albums, user comments, password-protected photo albums (ie: family-only photos), a password-protected administrative interface, which could also support multiple users.
Another option available would be the ability to email photos or URLs within the album to family and friends. The possibilities are only as limited as your imagination! Feel free to use the code for whatever you like! I hope this article has been informative and has helped introduce some of the concepts available to you for image manipulation.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |