Free Image Hosting Script V1
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.
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.
For a more advanced script please see this link: Proffesional Image Hosting Script















March 1st, 2008 at 6:16 pm
Very nice script that you have there, light-weight use and easy to configure as well, since there is no database needed =)
March 24th, 2008 at 7:39 pm
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
March 26th, 2008 at 7:24 am
It’s a nice and simple script
You can see :
http://www.friendgr.gr/img/
October 22nd, 2008 at 2:10 pm
how could i add multiple file uploads?
November 11th, 2008 at 7:10 pm
Any chance that more file types can be added and a multiple file upload script?
James
November 12th, 2008 at 7:31 pm
Ok. Thanks. I don’t have that much knowledge. Can you suggest anything?
December 29th, 2008 at 12:32 am
This isn’t work on my sites… Just show blank page… Nothing else after click on upload image…
December 29th, 2008 at 10:55 am
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?
January 7th, 2009 at 9:19 am
What to edit for the imges to go to own server.?
January 7th, 2009 at 11:25 am
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
January 21st, 2009 at 3:33 pm
hi
how multiple image uploaded?this script nice but not multiple upload and report.please add.
January 21st, 2009 at 4:03 pm
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.
January 25th, 2009 at 12:12 am
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.
January 25th, 2009 at 12:20 pm
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
January 25th, 2009 at 12:29 pm
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.
February 17th, 2009 at 7:29 am
Nice script, installed no problems, what do I need to change so that it does not go to your demo page?
February 18th, 2009 at 5:38 pm
Open header.php in notepad and change this:
to your actual website
April 27th, 2009 at 3:10 am
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?
April 27th, 2009 at 7:49 am
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.
April 28th, 2009 at 12:01 am
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.
May 6th, 2009 at 7:26 am
Awesome script… thanks…