image editor and no image

Last post 02-24-2009, 1:36 PM by Adam. 4 replies.
Sort Posts: Previous Next
  •  02-13-2009, 5:15 PM 48774

    image editor and no image

    I set the following:
     
     ceContentEditor.SetSecurityImageGalleryPath(filesPath & "/images")
     
    where ceContentEditor is the ID of Cute Editor.  FilesPath is set to the root directory for the files related to this use.
     
    We can insert and upload images fine - but if we click on Image Editor, it shows the empty placeholder for the image to be ediited.
     
    Is there another setting I am nissing here?
     
    Thanks,
     
    Eric
  •  02-13-2009, 8:40 PM 48782 in reply to 48774

    Re: image editor and no image

    Eric,
     
    Is filesPath a site relative path?
     
    Will the following code work for you?
     
    ceContentEditor.SetSecurityImageGalleryPath("SomeFolder/images")

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  02-19-2009, 6:47 PM 49024 in reply to 48782

    Re: image editor and no image

    I am already doing that:
     
    ceContentEditor.SetSecurityFilesGalleryPath(filesPath)
    ceContentEditor.SetSecurityFlashGalleryPath(filesPath)
    ceContentEditor.SetSecurityGalleryPath(filesPath)
    ceContentEditor.SetSecurityImageGalleryPath(filesPath & "/images")
    ceContentEditor.SetSecurityMediaGalleryPath(filesPath)
    ceContentEditor.SetSecurityTemplateGalleryPath(filesPath &
    "/myTemplates"
    )
     
    Where we have an images and myTemplates folder in the files folder.
     
    I am not at all certain what each of these (FilesGallery vs Gallery vs. MediaGallery) are for as compared to ImageGallery.
    This setting certainly allows me to upload and select images from the images folder, but the image does not appear if I use the image editor.  Am I using these settings wrong?
     
    There is another thing I have discovered.  I have identical copies of the website - one on my development computer, and an exact copy on the web server.  Both show the images directory, with files, correctly.  When I click on an image to select it, and then click on Image Editor, I get different results on development server (it shows the image) vs. the web server (it shows the missing image symbol).  How can that be?
     
    I have verified by re-uploading the entire cute editor folder and bin folder as well as the page the editor is on and its programming page to make SURE they are identical.  This makes no sense.
     
    Any ideas?
     
     
  •  02-23-2009, 10:19 PM 49145 in reply to 49024

    Re: image editor and no image

    I found the problem.  There is a folder in the ImageEditor folder, Temp, that has to be read/write.
     
    For whatever reason, the image editor just failed to show the image, rather than giving an error.  I created a test to show you the problem and it did give the access error.  I don't know why, but it certainly cleared up the question as to the source of the problem.
     
    Are there any other folders that need r/w permission?
  •  02-24-2009, 1:36 PM 49182 in reply to 49145

    Re: image editor and no image

    No.
     
    You just need to give aspnet account r/w permission to the following folder:.
     
    CuteSoft_Client\CuteEditor\ImageEditor\TempFiles

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML