here guys post this incase someone finds it usefull, and remember a thankyou is always welcome.
Open:
torrents-upload.php
Find:
OR
You can also add a link in your menu and use the full page version too.
Enjoy
Regards
[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3917"]lookpic.php[/url]
Open:
torrents-upload.php
Find:
///////////////////// FORMAT PAGE ////////////////////////
stdhead("Upload");
begin_frame("" . UPLOAD_RULES . "");
echo "<b>".stripslashes($site_config["UPLOADRULES"])."</b>";
echo "<BR>";
end_frame();After Add:// lookpic image upload
begin_frame("Lookpic Image Upload");
print("
<center>
<form action=http://lookpic.com/upload.php method=post enctype=multipart/form-data name=upload target=_blank id=upload>
<b>Image:</b>
<input type=hidden name=MAX_FILE_SIZE value=3000000>
<input id=file type=file name=image>
<b>Resize:
<input type=checkbox value=1 name=stat_resize /></b>
<select name=resize id=resize>
<option selected=selected>Select Resize Option</option>
<option value=0>100x75 (avatar)</option>
<option value=1>150x112 (thumbnail)</option>
<option value=2>320x240 (for websites and email)</option>
<option value=3>640x480 (for message boards)</option>
<option value=4>800x600 (15-inch monitor)</option>
<option value=5>1024x768 (17-inch monitor)</option>
<option value=6>1280x1024 (19-inch monitor)</option>
<option value=7>1600x1200 (21-inch monitor)</option>
</select>
<input id=submit type=submit name=submit value=Upload>
</form>
</center>");
print("<center>The allowed image types are JPG, JPEG, PNG, GIF.
<br>
The maximum image size allowed is <b>3MB.</b></center>");
end_frame();
// lookpic image uploadOR
You can also add a link in your menu and use the full page version too.
Enjoy
Regards
[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=3917"]lookpic.php[/url]