FreeTextBox

The no. 1 free ASP.NET HTML Editor.
Welcome to FreeTextBox Sign in | Join | Help
in Search

ImageGallery: Failed to insert image

Last post 07-18-2008, 11:43 PM by jodie. 1 replies.
Sort Posts: Previous Next
  •  03-25-2006, 4:08 PM 6073

    ImageGallery: Failed to insert image

    Reposting in appropriate forum. Sorry about that.
     
    1. ftb.imagegallery.aspx and the page using an imagegallery are at the same location.

    2. i am able to show gallery/upload/delete images in the imagegallery. the javascript function returnImage() is present and set when the user double clicks on an image. but it fails to insert the image back to the textbox. any ideas?
    ///
    /// add InsertImageFromGallery button
    ///
    
    control = (FreeTextBox) this.FindControl("usercontrolFTB");
    Toolbar toolbar = new Toolbar();
    toolbar.Items.Add(new InsertImageFromGallery());
    control.Toolbars.Add(toolbar);
    
    ///
    /// set where the image gallery is
    /// ftb.imagegallery.aspx?rif={0}&cif={0}
    ///
    
    control.ImageGalleryPath = "admin/Image Gallery";
    control.ImageGalleryUrl  = "ftb.imagegallery.aspx" + 
    	"?rif=" + control.ImageGalleryPath +
    	"&cif=" + control.ImageGalleryPath;
    
  •  07-18-2008, 11:43 PM 9287 in reply to 6073

    Re: ImageGallery: Failed to insert image

    Hi,

    Did you ever get this issue fixed? I'm having exactly the same problem and can't find an answer so would be keen to find out how you fixed it...

    Thanks.
View as RSS news feed in XML
www.freetextbox.com