CF Image Hosting Script v1.3

A simple easy to use Image hosting script, which aims to make it easy to setup and maintain a image hosting site or a site for you to share your photos with your friends, family and collegues. With the social bookmarking links generated for each image, sharing your images or photos across the web couldn't be made any easier.

What's New

Here are some of the new features of 1.3:

Report Image
This allows your visitors to report any image that they find offensive or which violates your terms of service.

Disable Upload
This option is to disable image upload on the home page for all visitors, but allow the admin to upload when they logged in.

Private Image Upload
With this option you can allow your visitors to upload an image which will not appear in the gallery but will still allow them to share it across their social network and close friends.

URL Shortening
A helpful feature(option) which will allow your visitors to shorten the URL to there image.

Features:

  • Option to put a text only watermark on the images when viewed from any other site then yours(hotlink).
  • Option to show Image Details on the thumb page(exif data from the image)
  • Option to use your own URL Shortening(Yourls,bit.ly,tinyurl.com,is.gd)
  • The user can now pick one of the languages(below) to view the site in (if available) and the with the use of cookies it will remember the language of the users last visite.
  • Remote upload(Copy image from URL)
  • Forgot your password? feature
  • dynamic sitemap(for Google,bing)
  • 'Edit image' feature for the admin to change the description/title and the image privacy settings
  • Multi-Language support
    • Hungarian (1.3.8) by lsgtvik
    • Norwegian (1.3.7) by Marius
    • Polish (1.3.7) by Krzysztof Dmowski
    • Portuguese (Brazil) (1.3.7) by Luciano Bergesch
  • Report Image
  • Disable Upload
  • Private Image Upload
  • URL Shortener
  • Multiple Images Upload
  • Images which have not been viewed within (X)number of days are auto deleted.
  • Better Bandwidth Tracking and limiting
  • RSS Feed 10 Newest images added
  • Image Search
  • Contact Page
  • No MySQL database needed
  • Supports JPG, JPEG, PNG, BMP and GIF images.
  • Easy to customize.
  • Auto-generated social bookmarking buttons for each image
  • Validation of uploaded files by extension and mime type.
  • Easy to crawl links (with mod_rewrite support)
  • Public gallery for uploaded images
  • Admin area
  • Easy web setup no need to edit files
  • Ban IP address from uploading
  • Configurable Maximum upload image size
  • Image Bandwidth Tracking
  • Image Counter.
  • Image delete urls for user on upload.

Images


Updates

Update 1.3.83:

(10 February 2011)
  • *Fix A bug with saving of the databaes were it would reset the database.

Update 1.3.82:

(22 September 2010)
  • *Fix Remote File Inclusion Vulnerability ([SET_LANGUAGE]=[EV!L])

Update 1.3.81:

(16 august 2010)
  • fixed installer
  • fixed themes (css)
  • Hungarian (1.3.8) by lsgtvik
  • Miscellaneous fixes

Update 1.3.8:

(15 august 2010)
  • New option to put a watermark (text only) on the images when viewed from any other site then yours(hotlink).
  • New Polish language translated by: Krzysztof Dmowski
  • Miscellaneous fixes

Update 1.3.7:

(27 July 2010)
  • Added a new option to show Image Details on the thumb page(exif data from the image)
  • Added a new option to use your own URL Shortening(Yourls,bit.ly,tinyurl.com,is.gd)
  • The user can now pick one of the languages(below) to view the site in (if available) and the with the use of cookies it will remember the language of the users last visite.
    • Hungarian (1.3.8) by lsgtvik
    • Norwegian (1.3.7) by Marius
    • Portuguese (Brazil) (1.3.7) by Luciano Bergesch
  • Updated Site Themes (CSS)
  • Update to Admin layout
  • Is now licensed under GPL
  • Miscellaneous fixes

UPDATE 1.3.6

(4 July 2010)
  • Added remote upload(Copy Image from URL)
  • Added 'Edit image' feature for the admin to change the description/title and the image privacy settings
  • Added 'Forgot your password?' feature
  • Added dynamic sitemap(for Google,bing)
  • Fixed search page bug
  • Fixed AdSense bug
  • Updated to the Site Themes (css)
  • Updated english language

UPDATE 1.3.51

(29 June 2010)
*Added Translation Norwegian by Marius

UPDATE 1.3.5

(25 June 2010)
  • Update to the installer.
  • Added Multi-Language support
    (you can find the english language file in the language folder. If you translated into another language or have corrected typos, I would appreciate it if you would send us the translated file. I will be adding the ability for your users to pick a language, once there are more translates.)
  • Image links on the admin home page will now show you thumb on the image in the tooltip.
  • admin CSS file update.

UPDATE 1.3.4

(12 June 2010)
*Fixed a admin logon Vulnerability.

UPDATE 1.3.3

(10 June 2010)
*Hoping to have fixed the installer.

UPDATE 1.3.2

(31 May 2010)
*Fix the report function so search engine bots do not report all images.
*NOTICE: If a search engine bots has indexed the report page for a image this fix will not stop it reporting the image, but will stop all new image report page from being indexed

UPDATE 1.3.1:

(10 May 2010)
*Fix Remote File Inclusion Vulnerability

CF Image Hosting Mailing List

You can keep updated with the latest information about CF Image Hosting updates by joning our mailing list. you will only receive mail about updates to CF Image Hosting and we will not share your email address with any third parties.

Download & demo

Install/update instructions :

BEFORE UPDATING BACKUP YOUR DATA FOLDER IN THE UPLOAD FOLDER
Unzip all the files and upload them to your site, then navigate to your site where the installer script should run to check the file structure and setup the basic settings. If you encounter an error it will most likely be an error related to not being able to right to a file or a folder just follow the instructions to set permissions on the file or folder affected, if you encounter any other errors please try refreshing the page as sometimes this can help.

After the installer is done you will need to delete the install.php file from your server, then navigate to the admin page use admin as the username and password as the password to login, once you have logged in navigate to the settings page and edit settings to your liking.
Attention : CF Image Host Script 1.4 is now out!

Demo Admin Login

Please note that some of the sittings can not be changed in the demo.

Username : admin
Password : password

Online Demo : Removed
Please note:
The online demo my be running a newer(test) version of the script.

Download : CF Image hosting Version 1.3.83

Click here to lend your support to: CF Image Hosting Donation and make a donation at www.pledgie.com !


Old Versions

CF Image hosting Version 1.2
CF Image hosting Version 1.1
CF Image hosting Version 1.0.1

Like our script? Rate it at PHP > Hot Scripts
ScriptSearch.com
If you find any bugs please let me know or if you need any help please feel free to post a comment below and I will answer you as soon as possible.

388 Comments | Add your own
    1. Admin
      11 Jan 11 09:20am
      @Dave
      nope but you can have show/hide open on page load goto settings->site settings and set Link Panel Open to on...

      you can donate by using the pledgie.com button next to the download it use paypal.
      Reply
  1. Dave
    02 Jan 11 01:34am
    The feed seems not to be working under Google chrome. Is there a solution for that?
    Reply
    1. Admin
      11 Jan 11 09:26am
      @Dave
      from what i can find Google chrome does not support RSS Feeds out of the box, you need to have a Extension (rss reader) to make it work.
      Reply
  2. Tom Slominski
    02 Jan 11 02:37pm
    Hi. I am trying to install your script, but I'm failing badly. I ran install.php, but it says

    Warning: fopen(upload/data/settings.cdb) [function.fopen]: failed to open stream: Permission denied in /var/www/newimg/lib/arraydb.class.php on line 295
    I could not open $fileaddress.

    It enrages and saddens me in so many ways. I'm working under Debian Lenny with apache2 and php5.
    Reply
    1. Odigopl
      02 Jan 11 08:48pm
      @Tom Slominski
      CODE
      chmod -R 777 upload/*;
      Reply
      1. Odigopl
        02 Jan 11 08:52pm
        Bug's suck's.
        Delete ; from code.
        Every time I'm use CODE tag system add ; as last character.
    1. Amy Laura
      04 Jan 11 01:36am
      hi,
      IS it possible to include a button to close the eventual extra upload panes?
      Reply
      1. Admin
        11 Jan 11 09:28am
        @Amy Laura
        yes :)
        Reply
        1. Admin
          11 Jan 11 09:30am
          @Amy Laura
          is in next version what will be out soon...
          Reply
      2. Jim
        05 Jan 11 06:16am
        Great script!!

        Would it be possible to add plus / mines images when the panel is opened / closed? that would be great and clearer.

        I tried but i couldn't figure it out..

        Any guide line?
        Reply
      3. Stheverton
        05 Jan 11 12:58pm
        Would like to know if its possible move the data stored at db files .ihdb to a mysql data base serveR? if so anynoe just give me a tip
        Reply
        1. Admin
          11 Jan 11 09:31am
          @Stheverton
          not right now but is in the works
          Reply
      4. Verin
        08 Jan 11 01:14am
        Really love this script. I've been looking for this for such a long time. Thank you
        Reply
        1. Admin
          11 Jan 11 09:32am
          @Verin
          thank you
          Reply
      5. Jose
        08 Jan 11 12:37pm
        As put another link in the menu translations?
        Reply
      6. Matt
        09 Jan 11 06:19am
        This is basically the same script as Chevereto. Who copied whom?
        Reply
        1. Admin
          11 Jan 11 09:47am
          @Matt
          This script is more like other image hosting script's then Chevereto as this script has features like the admin area and the gallery what Chevereto has not got, and thats 2 there are more features listed at the top of the page...
          Reply
      7. Viciouscode
        10 Jan 11 06:08pm
        what do I put in API URL : for the bit.ly shortening service, i put the api key and username but i dont know what to put

        please help
        Reply
        1. Admin
          11 Jan 11 09:49am
          @Viciouscode
          not needed for bit.ly just used for yourl shortening service..
          (email thank you)
          Reply
      8. Slavko
        11 Jan 11 10:13am
        Hi Admin

        And how to do it. To screen opened at its original size and not the thumbnail 170x170
        Reply
        1. Admin
          11 Jan 11 10:29am
          @Slavko
          right now there are no pages will show the Original image on it, you can click on the thumb what will open the image in a lightbox or use the Image Link to show it on any other site...
          Reply
          1. Admin
            11 Jan 11 10:33am
            @Slavko
            ***As of right now there are no pages that will show the Original image, the only way you can see the Original image (full siz) is by click on the thumb (on thumbnail page) and that will open he image in a lightbox or use the Image Link (bottom of thumbnail page) to show it on any other site...
        1. Hesham
          12 Jan 11 05:05pm
          [error start]
          [12-Jan-2011 12:56:31] PHP Notice: Undefined index: name in /home/username/public_html/contact.php on line 42
          [12-Jan-2011 12:56:31] PHP Notice: Undefined index: email in /home/username/public_html/contact.php on line 43
          [12-Jan-2011 12:56:31] PHP Notice: Undefined index: comment in /home/username/public_html/contact.php on line 44
          [12-Jan-2011 12:56:31] PHP Notice: Undefined index: captcha in /home/username/public_html/contact.php on line 45
          [12-Jan-2011 12:56:31] PHP Notice: Undefined index: captcha in /home/username/public_html/contact.php on line 74
          [12-Jan-2011 12:56:31] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/contact.php:42) in /home/username/public_html/lib/captcha.class.php on line 102
          [12-Jan-2011 12:56:31] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/contact.php:42) in /home/username/public_html/header.php on line 31
          [12-Jan-2011 12:56:31] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/contact.php:42) in /home/username/public_html/header.php on line 33
          [12-Jan-2011 12:56:31] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/contact.php:42) in /home/username/public_html/header.php on line 35
          [12-Jan-2011 12:56:31] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/contact.php:42) in /home/username/public_html/header.php on line 36
          [12-Jan-2011 12:56:31] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/contact.php:42) in /home/username/public_html/header.php on line 38
          [error end]

          any one have any idea whats wrong here please ?
          my error_log start to get BIG and it keep spam that error msg non stop and i have no idea what happen :S
          Reply
        2. Hesham
          12 Jan 11 06:21pm
          also there is the thing about FaceBook thum pic..
          as you can see in the screen shot:

          http://www.fean.net/pm-12129485990116.html

          the thum for the photo does not show up.. any idea how
          to fix this also please ?

          also how can i replace the site name in them sky with my own
          png pic ?

          thanks in advance for the help.
          Reply
        Information: Comments are closed. Please use the new forum

        Other Tools
        CF Image IP 0.91
        Image IP is a very simple but powerfull PHP Ip Image Generator script.This Script will...
        CSS3 Transform
        This online tool allows you to experiment with the CSS Transforms for Safari, Chrome,...
        HTML Encode Decode
        This tool can help with the 'escaping' of any text to its HTML special chars...
        Forum Topics
        Mod Rewrite Fehler
        Wenn ich in admin Panel die Funktion einstelle. Zeigt es mit diesen Fehler an . Warning: Invalid argument...
        Short Url Not Workig
        Warning: preg_match() [function.preg-match]: No ending delimiter '!' found in...
        password protection
        Hallo Ich verwende die Neuste CF Image Host 1.6.5 Version. Ist es möglich einen Passwortschutz...
        vertical banners
        Anyone know how i could put vertical banners on each side of the thumbnails on the thumbnail page? Thanks
        Link Shortener
        Ive recently added the adf.ly link shortener to this script which really works great, however in the thumbnail...