TECH YARD

How To Create Your Own Image Hosting Site

Image Hosting can be really helpful in sharing images, uploading screenshots, images for free templates etc.Here’s how you can create your own Image Hosting Website like imageshack or TinyPic on your webserver using Chevereto which is a free opensource script, completely written in php.

Features :

You can also use this script as private image uploader for your site/blog.

Webserver Requirements : PHP 5 with cURL and Image Processing (GD).

Installation :

STEP-1

  1. Open config.php and edit the definitions.
  2. define ( ‘URL_SCRIPT’, ‘http://dev.chevereto.com/’)  // run the script URL (url to be the root of the hosting)
  3. define ( ‘DOM_SCRIPT’, ‘dev.chevereto.com’), / / domain or subdomain of the script (note, that affects whether or not to go with “www.”
  4. define ( ‘PATH_SCRIPT’, ‘/ chevereto /’) / / Relative path from web carpera to the script (eg: / public_html / chevereto /) ‘/’ if you run in the root web.
  5. define ( ‘PATH_SERVER’, ‘/ public_html /’. PATH_SCRIPT) / / The path to the server where your script, take note that PATH_SCRIPT. In this case is: / public_html / chevereto /
  6. define ( ‘APP_NAME’, ‘DEV Chevereto’) / / What is your hosting
  7. Also define the directoty paths.

STEP-2

  1. Editing. Htaccess to work with your domain.

STEP-3

  1. Edit in js / rules.js line 44.— Var url = ‘http://dev.chevereto.com/pref.php?url =’ + checked;and put your url in place of the default.

Download Chevereto —      DEMO

Exit mobile version