PHP
  Home arrow PHP arrow Page 3 - Setting Up a Web-based Image Hosting S...
Dev Shed Forums 
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Moblin 
JMSL Numerical Library 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
PHP

Setting Up a Web-based Image Hosting Service
By: Barzan "Tony" Antal
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2008-05-13

    Table of Contents:
  • Setting Up a Web-based Image Hosting Service
  • GM Photo Host
  • Easy Image Hoster
  • DXL dev' IHS
  • Final Thoughts

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Setting Up a Web-based Image Hosting Service - Easy Image Hoster


    (Page 3 of 5 )

    Easy Image Hoster approaches image hosting from a no-nonsense perspective. It does nothing more than provide hosting functions and capabilities. The set up procedure takes less than a minute; immediately after, it handles working with images seamlessly. It is an ImageShack look-alike, including the logo.

    It is a totally freeware script. However, at the time of writing, the website of the author was down. Apparently, I found out that since the site isn't reachable, you cannot download EasyImageHoster from the official source anymore. Fortunately, a quick Google search turns up quite a few results. I've found it myself.

    The script per se isn't copyrighted and re-hosting isn't prohibited. With this opportunity, I thought that I'd save you precious time that you'd waste searching for this nifty little application. Therefore, I'm sharing with you the original (unmodified) archive of Easy Image Hoster v1.35. It's the latest version I could get my hands on. Unfortunately, the project died and no further releases and/or updates were done.

    You can get it by clicking on the Download Source button attached below. It's archived in ZIP format. Download and extract its content to a local directory on your hard drive. It's time to modify the configuration PHP files before we upload them on the web space.

    Configuration is very easy. Just edit "config.php" and set your domain, mail, and path of the uploaded files and thumbnails, then specify the maximum file size and the size of the thumbnails. You can also set the name of your "index.php." Replace the <title> bla </title> part, obviously. The same goes for "basic.php." Also, be careful because in some cases, you may be required to replace the following line (number 80) of "basic.php":

    chmod("./" . $path . $imgf,0400);

    Replace it with: chmod("./" . $path . $imgf,0444); This replaces the standard 0400 permissions with 0444, meaning that you will give all kinds of read permissions (owner, group, public) to the hosted images. This is necessary in most cases, but it depends.

    You can host the files and folders to your web space now. Of course, CHMOD 777 is required for the following two folders: /images and /thumbs. Again, this is to make them writeable for everybody herein, including the script. Finally, check out the attached screenshot below-it's a stripped and cropped version of it.

    Just because we can set it up fairly quickly and I've led you through the installation process doesn't mean you should skip the readme! So check it out.

    More PHP Articles
    More By Barzan "Tony" Antal


       · Thanks for reading this article about setting up a web-based image hosting service....
       · Tony:Is there an image hosting script that is better than others in terms of...
     

       

    PHP ARTICLES

    - Building a Content Management System with Co...
    - Filters and Login Systems for Web Applicatio...
    - Working with the Email Class in Code Igniter
    - Building Your Own System Tray Application Us...
    - Structuring Your Projects for Web Applicatio...
    - Inserting, Updating and Deleting Database Ro...
    - Building Your Own Desktop Notepad Applicatio...
    - Web Application Security Overview
    - Working with the Active Record Class in Code...
    - Generate PDF Documents with PHP on the Windo...
    - Sending Email with PHP Networking
    - Performing Strict Validation with the Code I...
    - The preg_replace_callback() function in PHP
    - PHP Networking
    - Validating Web Forms with the Code Igniter P...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT