Results 1 to 3 of 3

Thread: How to move images using site URL

  1. #1
    Join Date
    Apr 2009
    Posts
    69

    How to move images using site URL

    Hi,

    I have a little question regarding moving Images from one site to another, I have some images that i simply wanted to move to the other site but this with the help of site URL, i have read to some blog earlier related to it,but don't find that this will have do in the future, but today am in very need of performing such task so please provide some details to me.

    Thanks

  2. #2
    Join Date
    Jan 2009
    Posts
    120

    Re: How to move images using site URL

    You can try using the following code in your program to move images over the SITE URL.

    Necessary changes you have to do it manually which are absolutely possible.

    Code:
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            GetImage("http://mysite.com/fs_img/mysite/0506/logo.gif", "C:\Logo.gif")
        End Sub
    
        Private Sub GetImage(ByVal URL As String, ByVal SaveAs As String)
            Try
                Dim srv_request As System.Net.WebRequest = System.Net.WebRequest.Create(URL)
                Dim srv_response As System.Net.WebResponse = srv_request.GetResponse()
                Dim ImgStream As IO.Stream
    
                ImgStream = srv_response.GetResponseStream()
                System.Drawing.Image.FromStream(ImgStream).Save(SaveAs)
            Catch
            End Try
        End Sub

  3. #3
    Join Date
    Feb 2009
    Posts
    79

    Re: How to move images using site URL

    • Create the new location using one of these two options:
      1. If you will be moving your WordPress core files to a new directory, create the new directory.
      2. If you want to move WordPress to your root directory, make sure all index.php, .htaccess, and other files that might be copied over are backed up and/or moved, and that the root directory is ready for the new WordPress files.

    • Login to your blog.
    • Go to the Administration > Settings > General panel.
    • In the box for WordPress address (URI): change the address to the new location of your main WordPress core files.
    • In the box for Blog address (URI): change the address to the new location, which should match the WordPress address (URI).
    • Click Update Options.

Similar Threads

  1. Posting images from other site to own site and keep it legal?
    By Mahalingam in forum Technology & Internet
    Replies: 4
    Last Post: 08-06-2011, 07:56 AM
  2. Replies: 4
    Last Post: 27-01-2011, 10:15 PM
  3. Site Map of SharePoint site in Visio 2007
    By GusFraba in forum MS Office Support
    Replies: 1
    Last Post: 18-06-2009, 09:26 AM
  4. SITE-To-SITE VPN using Windows Server 2003 Standard
    By S H A R I Q U E in forum Windows Server Help
    Replies: 9
    Last Post: 03-01-2009, 10:55 PM
  5. Downloading multiple images from a site
    By Zelgaro in forum Customize Desktop
    Replies: 2
    Last Post: 11-12-2008, 05:53 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,968,474.43141 seconds with 17 queries