1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Image hosting website

Discussion in 'General Business' started by lonerunner, Mar 26, 2012.

  1. #1
    Hello, i want to open image hosting website, i have server that can cover alot of bandwith, and i can buy some domains.

    What im interested in to is if anyone can help me decide which image hosting script to use, i have been searching on internet but not finding anything proper, for start i would like to find free or paid script where you can upload image s anonymously , or register and create gallery, get thumbs link, direct link, etc... basic functions.

    And what ads you can recommend on website, i have seen some websites with google adsense ads but if im gonna allow adult images, adsense is out, other programs that i know for adult advertising don't give much earnings.
     
    lonerunner, Mar 26, 2012 IP
  2. jhardy2008

    jhardy2008 Peon

    Messages:
    1,175
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use imagebucket.com
     
    jhardy2008, Mar 27, 2012 IP
  3. lonerunner

    lonerunner Member

    Messages:
    184
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    48
    #3
    I want to open my own image hosting website, im not looking for existing websites.
     
    lonerunner, Mar 28, 2012 IP
  4. Scarrfo

    Scarrfo Peon

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I had one working a few years ago but never saved the code. It was not hard.

    I used uploadify to handle the uploads (free)
    uploadify_com/demos/

    I used asp.net net with a sql server database to hold the info.
    Simple string replacements allowed for the image direct link, forum link etc.

    I would build your own as most of the free one are over coded.

    You can get a free copy of visual studio express from microsoft and use the built-in membership system, add a few fields to the database to show image paths and do something simple like this to to upload the files.

    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="PictureUpload._Default" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
      
        <script src="scripts/jquery-1.4.2.min.js" type="text/javascript"></script>
        <script src="scripts/jquery.uploadify.v2.1.4.js" type="text/javascript"></script>
        <script src="scripts/swfobject.js" type="text/javascript"></script>
        <link href="css/uploadify.css" rel="stylesheet" type="text/css" />
        <script type = "text/javascript">
         $(window).load(
    
        function () {
    
            $("#<%=FileUpload1.ClientID %>").uploadify({
    
                'uploader': 'scripts/uploadify.swf',
    
                'cancelImg': 'images/cancel.png',
    
                'buttonText': 'Browse Files',
    
                'script': 'UploadVB.ashx',
    
                'folder': 'uploads',
    
                'fileDesc': 'Image Files',
    
                'fileExt': '*.jpg;*.jpeg;*.gif;*.png',
    
                'multi': true,
    
                'auto': true
    
            });
    
        }
    
    );
    
    </script>  
    
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
        <div style = "padding:40px">
    
            <asp:FileUpload ID="FileUpload1" runat="server" />
          
        </div>
        </div>
        </form>
        <p>
           </p>
    </body>
    </html>
    
    
    The upload handler
    
    Imports System.Web
    Imports System.Web.Services
    Imports System
    
    Imports System.IO
    Public Class UploadVB
        Implements System.Web.IHttpHandler
    
        Public Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
    
            Dim postedFile As HttpPostedFile = context.Request.Files("Filedata")
    
    
    
            Dim savepath As String = ""
    
            Dim tempPath As String = ""
    
            tempPath = System.Configuration.ConfigurationManager.AppSettings("FolderPath")
    
            savepath = context.Server.MapPath(tempPath)
    
            Dim filename As String = postedFile.FileName
    
            If Not Directory.Exists(savepath) Then
    
                Directory.CreateDirectory(savepath)
    
            End If
    
    
    
            postedFile.SaveAs((savepath & "\") + filename)
    
            context.Response.Write((tempPath & "/") + filename)
    
            context.Response.StatusCode = 200
    
        End Sub
    
    
    
        Public ReadOnly Property IsReusable() As Boolean Implements IHttpHandler.IsReusable
    
            Get
    
                Return False
    
            End Get
    
        End Property
    
    End Class
    
    Code (markup):
     
    Scarrfo, Mar 28, 2012 IP
  5. shivon

    shivon Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Clipbucket is one of the best youtube clone scripts (also for images)
     
    shivon, Mar 28, 2012 IP
  6. lonerunner

    lonerunner Member

    Messages:
    184
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    48
    #6
    @ Scarrfo hmmm.... uploadify is exactly what i need for uploading, i will have to check it out what it do and how handle files after upload, i might even start coding my own script, im not expert but i have enough knowledge in php to do some database connections, user registrations, gallery etc...

    @ shivon Clipbucket is way more advanced than i need, and if i will need to customize their code is not so easy to handle. i need simple image upload site with little advanced options like gallery private images user registrations thumbs, hotlink protection, etc...

    imagebam.com and imagearn.com are good examples of what im looking for.
     
    lonerunner, Mar 28, 2012 IP