Home arrow PHP arrow Page 3 - Storage and Re-use of Images Using PHP/GD - Part 1
PHP

Storage and Re-use of Images Using PHP/GD - Part 1


Using PHP and MySQL to work with images is made easy thanks to the efforts of Gijs in this two part series explaining how a programmer can successfully handle images with a database.

Author Info:
By: Gijs van Tulder
Rating: 5 stars5 stars5 stars5 stars5 stars / 6
July 17, 2003
TABLE OF CONTENTS:
  1. · Storage and Re-use of Images Using PHP/GD - Part 1
  2. · The Article
  3. · Conclusion

print this article
SEARCH DEVARTICLES

Storage and Re-use of Images Using PHP/GD - Part 1 - Conclusion
(Page 3 of 3 )

What we Did in Part 1

We just made our user an image upload form, with which we can submit the information and the image. We also wrote a script that handles the upload. The image is then converted from jpeg, png, bmp or gif to a better usable jpeg of png format and saved. After this step, the information about the image is saved to the database for later use.

You can download the full script we wrote in this article.

Part 2

In part 2 we will build the other half of our image storage system, containing an image search function and an PHP-object to get the image from the database and generate the appropriate img-tag.


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.

blog comments powered by Disqus
PHP ARTICLES

- Removing Singletons in PHP
- Singletons in PHP
- Implement Facebook Javascript SDK with PHP
- Making Usage Statistics in PHP
- Installing PHP under Windows: Further Config...
- File Version Management in PHP
- Statistical View of Data in a Clustered Bar ...
- Creating a Multi-File Upload Script in PHP
- Executing Microsoft SQL Server Stored Proced...
- Code 10x More Efficiently Using Data Access ...
- A Few Tips for Speeding Up PHP Code
- The Modular Web Page
- Quick E-Commerce with PHP and PayPal
- Regression Testing With JMeter
- Building an Iterator with PHP

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials