GM Photo Host Version: 0.01 READ ME File.



Hi and thanks for downloading the GM Image Host Gallery System.



Please follow the directions for installing this script on your webserver.



Requirements:

Server running PHP

Server with GD (Thumbnails)

FTP Program with File Permission (CHMOD)

Lots of space to host photos.



----------------------------------------------------------------------------------------------------------------------------



Unzip the GM_Photo Host onto your computer.

You will need to edit the following files before you upload the whole mess top your server/host.



* contact.php



On or around Line 34 you will have to put in your formmail address, so replace the url to your address:

Find: 

<form action="http://yourformmail.com/" method=POST>

Replace:

<form action="toyourformmailaddress.com/" method=POST>



Save file.



*gallery_php.php



Configure the gallery to what you want in the upper section of this file. 

Save file.



*galleryImage.tpt



Change the URL on line 32 to your URL to output the forums BBC.

Find:

<textarea cols="65" rows="3" id="select1">[url=http://www.yoururl.com/gallery.php?entry=images/<!--Filename//-->][img]http://www.yoururl.com/images/thumbs/thumb_<!--Filename//-->[/img][/url]</textarea> &nbsp [<a href="gallery.php">Go Back To Gallery</a>]<br>

Replace:

http://www.yoururl.com/ to your actual url. Make sure you change both of the URLs in line 32.



Save File.



*header.php



Change Title to what your sites title is.



Find:

<TITLE>Powered by - GM Photo Host</TITLE>

Replace:

<TITLE>Your Site Title | Powered by - GM Photo Host </TITLE>



Change the info between lines 38 and 39 to reflect your URL.



Find:

mail_str = "mailto:?subject= GM Photo Host " + document.title;

  mail_str += "&body= I recommend this Website (GM Photo Host.com) tip -- " + document.title;

Replace:

mail_str = "mailto:?subject= Your Site Title " + document.title;

  mail_str += "&body= I recommend this Website (Your URL.com) tip -- " + document.title;



Save File.



* iframe.php



Change Site Title on line 18 to your site title.



Find:

<tr><td bgcolor="#E1E1E1"><input name="Submit" type="submit" value="Upload Image"><br><font size="1" face="verdana">Provided By <a href="index.php" target="_blank">GM Photo Host</a></font></td>

Replace:

<tr><td bgcolor="#E1E1E1"><input name="Submit" type="submit" value="Upload Image"><br><font size="1" face="verdana">Provided By <a href="index.php" target="_blank">Your Site Title</a></font></td>



*index2.php



Find and replace all yoururl.com with your URL.



*index3.php



Find and Replace all yoururl.com with your URL.



*tools.php



Find and Replace yoururl.com with your URL.



----------------------------------------------------------------------------------------------------------------



Now that your files are changed to what you need them to be now we can upload the entire script to your root directory.



Please keep the file structure as is.

ChMOD /images/ to 0777

CHMOD /images/thumbs/ to 0777



Go to http://yoururl.com and use your new file host!



Feel free to strip off any copyright from GM Photo Host that you see if you not want to give me credit.

Please feel free to improve this script, and let us see what you did at http://www.gravy-media.com!



