Re: Insert Image

  •  10-26-2006, 2:48 AM

    Re: Insert Image

    That's not it..
    This is my map structure:
     
    cutesoft (map)
                         default.asp
                         images (map)
                         CuteEditor_Files (map)
                                                          Configuration (map)
                                                                                        Default.config
                                                          InsertImage.asp
                                                          browse_image.asp
     
    the only things i changed was the map uploads to images
    I changed, in Default.config file:
    <security name="ImageGalleryPath">/images</security> (could not browse)
    to
    <security name="ImageGalleryPath">../images</security>(browse worked)

    I go to default.asp and click on Insert Image, the window opens.
    I click on the image in the browse window and i see a preview of the image in the preview window.
    When I click the Insert button he inserts the image, I see the right size of the image but I can't see it ()
    When I look into the HTML view i get:
     
    <img height="100" alt="" src="../images/Cindy_Crawford.jpg" width="124" border="0">
    But the file default.asp is in the same directory as the map images, so it doesn't need to go up (../)
    the src has to be:
    <img height="100" alt="" src="images/Cindy_Crawford.jpg" width="124" border="0">
     
    If I change, in Default.config file:
    <security name="ImageGalleryPath">../images</security>
    back to
    <security name="ImageGalleryPath">/images</security>
     
    I can't even browse so i cant select an image and I can't insert an Image.
     
    What to do?
View Complete Thread