Relative path

Last post 06-11-2010, 7:48 AM by Eric. 3 replies.
Sort Posts: Previous Next
  •  06-02-2010, 9:44 PM 61519

    Relative path

    Can i set the image/file to relative path such as ../images/a.jpg when i using Image Gallery function.
    Becasuse i have multi domain for 1 project,
    for example: www.abc.com and www.test.com/abc
    2 domain are point to same folder. if i use site root relative path for 1 site, another 1 can't display.
     
    Thanks
  •  06-03-2010, 9:26 AM 61539 in reply to 61519

    Re: Relative path

    You can set imagegallerypath dynamically, please refer to http://cutesoft.net/forums/post/53806.aspx 
     
    Regards,
    Eric
  •  06-11-2010, 4:42 AM 61681 in reply to 61539

    Re: Relative path

    I mean the html code that is generate by image gallery
     
    i would like change the link from 
    /abc/images/a.jpg
    to
    ../images/a.jpg
  •  06-11-2010, 7:48 AM 61689 in reply to 61681

    Re: Relative path

    Don't use the relative path: $editor->ImageGalleryPath="../images";
     
    Use the absolute path like:
     
    $editor->ImageGalleryPath="/images";
     
     
    Regards,
    Eric
View as RSS news feed in XML