Path issues

  •  05-21-2014, 7:47 AM

    Path issues

    I'm currently having an issue with image and document paths on the editor.

     

    Basically I have to put in ../../images for the image path, to get the folder up that i require.

    When i upload an image, it all uploads ok, but when i insert the file into the page it doesn't see it, if I remove the ../../ then it appears.

     

    Folder structure:

    website/cuteeditorfiles/etc... 

    website/editorpage.asp

    website/images/imagename.jpg

     

    Surely if it uploads ok it should be able to insert ok?

    If I remove the ../../ from the:

    editor.ImageGalleryPath = "../../images"

    to be

    editor.ImageGalleryPath = "images"

     

    Then it doesn't find the folder. But if i leave it as it is it doesn't place the image in the editor correctly, it needs to place it without the ../../

     

    Am i missing something here?

    Any idea whats wrong, pulling my hair out (and i haven't got much)? 

View Complete Thread