Free Image Hosting Script V1

// February 27th, 2008 // Scripts

A simple yet good image hosting script. It is easy to customize and can work on any php web server. Does not even need a MySQL database. Supports JPG, JPEG, PNG, and GIF images. It is adsense ready and the adsense code is easy to customize. You can view a demo here>>.

For a more advanced script please see this link: Proffesional Image Hosting Script

The files are uploaded on the server in the “upload” directory and the thumbs are created in the “thumbs” directory. Every file has a unique name given my a MD5 Hash of the date and time the file was uploaded. The thumb has the exact same name as the original image.

Instalation: Just upload the files in this archive to your server. No configuration is necessary. All you have to do in order to earn some revenue is to update the adsense codes. There are two files: adsens1.php and adsense2.php. Here you must paste your own adsense code.

Known Bugs

The script is not perfect. Until now I only found one small bug. If you upload an image with a different extension (for example a jpg with the name image.png) than an error will show up. The file will be uploaded and the links given, BUT the thumbnail won’t be generated corectly. If you find other bugs please let me know, but I don’t think I will make time to fix them.
For any help please feel free to post a coment here and I will answer you as soon as possible.

Download

For a more advanced script please see this link: Proffesional Image Hosting Script

23 Responses to “Free Image Hosting Script V1”

  1. Kevin Paquet says:

    Very nice script that you have there, light-weight use and easy to configure as well, since there is no database needed =)

  2. David says:

    Image Hosting
    i know your busy but
    im new to this web hosting

    iv upload your script
    tested with a image upload looks good but
    the image goes to you demo page
    can you tell me what i need to edit to make it go to my host
    test link below
    thank you for your time
    Pek
    http://www.peksville.com/data/image-hosting

  3. Adreas says:

    It’s a nice and simple script

    You can see :

    http://www.friendgr.gr/img/

  4. bob says:

    how could i add multiple file uploads?

    Sorry…but it this version multiple file upload is not supported

  5. James Kealey says:

    Any chance that more file types can be added and a multiple file upload script?

    James

    Sorry...but because of the lack of time this script is no longer updated. It is offered "As is"...but you are free to make some changes to supoort other file tipes...with basic PHP knowledge this should not be a problem.

  6. James Kealey says:

    Ok. Thanks. I don’t have that much knowledge. Can you suggest anything?

  7. Dragan Milentijevic says:

    This isn’t work on my sites… Just show blank page… Nothing else after click on upload image…

  8. Admin says:

    What is your website? what version of PHP does your server run? do you have privileges to use the upload function and to write to the upload folders? What browser are you runig?

  9. T.panneerselvam says:

    What to edit for the imges to go to own server.?

  10. Admin says:

    when you upload the files to your server, the images are stored in the folder that is on your server. just make sure you CHMOD the upload and thumbs folder to 777

  11. caqtus says:

    hi
    how multiple image uploaded?this script nice but not multiple upload and report.please add.

  12. Admin says:

    You can’t upload multiple images at a time. I am sorry but I do not plan to continue this project. MAYBE one day I will start to rewrite the entire script from zero and ad more features.

  13. Katie says:

    I just installed it, and even though it took some time to figure out how to edit it the way I wanted, it’s working much better than the other scripts I’ve tried. :) I pretty much cut out everything except the header, main page, and upload file. I just can’t figure out how to limit the file size. I tried changing the number on the file size condition but it doesn’t seem to have an effect.

  14. caqtus says:

    for multiple images to be useful this site
    http://www.element-it.com/Examples/MultiPowUpload/Customize.html
    as for me to fix this script.i will this script fix waiting.Please:)
    Thanks a lot

  15. Admin says:

    First of all I can’t really understand what you are trying to say. I think you want me to integrate that script into my script so you can have multyple images uploaded. Like I said before, I do not longer work on this script. Maye in the future I will make a new one with more features.

  16. Bart says:

    Nice script, installed no problems, what do I need to change so that it does not go to your demo page?

  17. Admin says:

    Open header.php in notepad and change this:
    $website="http://sf-zone.net/imghost";
    to your actual website

  18. Mike says:

    Hello, this seemed to be a great script untill i reached 171 pages, then it just stopped taking in anymore images, is there something in the scrirpt limiting the total number of pages you may have, or the total bytes allowed in the upload file, it seemed to me the pages should go on endless, as there being filled, can i fix this?

  19. Admin says:

    As far as I remember there is no limit to the total number of pages/images. The only limitation is the maximum file size that can be uploaded. Make sure you have space on your hosting account. Except for that I can’t think of anything else.

  20. Mike says:

    Hello, thanks for quick response, yes i have unlimited server space so thats not the problem, However i wanted to say i’ve added some cool things to this script, such as return to gallery buttons that take you back to the page you were viewing thumbnails on, and not page 1, and upload image buttons below the back button, of coarse the back button is in php also, just letting people know whats possible with this script, thanks for your help.

  21. jane says:

    Awesome script… thanks…

  22. Admin says:

    not actually a clone, but it has almost the same functionality.

Leave a Reply

You must be logged in to post a comment.