Storing images in subdomain - possible?

  •  02-21-2007, 6:19 AM

    Storing images in subdomain - possible?

    Hey

    I have an editor on a domain - www.example1.com. This domain is pointing at a subfolder called production in the root of another domain - www.example2.com.
    When images are uploaded they are saved to the folder specified by me in the line
    editor.ImageGalleryPath = "/images"

    However.. Is it possible to store the images in a subdomain - static.example1.com?
    The subdomain is pointing to a folder called static/example1/images/ and the folder is located as shown below:

    The structure of my website looks like this:

    ftproot
      |- static
      |     |- example1
      |              |- images (here should the images from the editor be stored. Address to this folder: static.example1.com/images)
      |   
      |- www (This is the root of www.example2.com)
            |- production (The domain www.example1.com is pointing here. The root folder of www.example1.com)
            |        |- images (Images from the editor is stored here now)


    Is it possible to store the images as I want?
    What should I write in the editor.ImageGalleryPath line and how can I make the editor understand that it should fetch the images from a subdomain?

    Thanks in advance

    M
View Complete Thread