FreeTextBox

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

ImageGallery Problem

Last post 09-18-2008, 3:24 AM by otenli. 15 replies.
Page 1 of 2 (16 items)   1 2 Next >
Sort Posts: Previous Next
  •  03-31-2005, 10:42 PM 3610

    ImageGallery Problem

    I am new to FreeTextBox and I love it, great work!  I am running into a problem using the image gallery.  I have included the insertimagefromgallery button, and it show up fine, however when it is clicked nothing happens.  I included the ftb.imagegallery.aspx file in the same folder as the page with the FTB.  I tried commenting out the return at the top of the Page_Load function for ftb.imagegallery.aspx but that didnt do anything.  Thanks for you help in advance.
  •  04-04-2005, 1:18 AM 3646 in reply to 3610

    Re: ImageGallery Problem

     jbolles wrote:
    I am new to FreeTextBox and I love it, great work!  I am running into a problem using the image gallery.  I have included the insertimagefromgallery button, and it show up fine, however when it is clicked nothing happens.  I included the ftb.imagegallery.aspx file in the same folder as the page with the FTB.  I tried commenting out the return at the top of the Page_Load function for ftb.imagegallery.aspx but that didnt do anything.  Thanks for you help in advance.


    I could not have said it better great control.
    I am however having the same problem with the control.
    Regards
  •  04-04-2005, 8:33 PM 3656 in reply to 3646

    Re: ImageGallery Problem

    To solve this problem make sure the ftb.imagegallery.aspx file is in the ImageGalleryUrl (property) folder.

  •  04-05-2005, 7:46 PM 3676 in reply to 3610

    Re: ImageGallery Problem

    SupportFolder="~/aspnet_client/FreeTextBox/"

    my ftb.imagegallery.aspx file is also in this folder. On the hosting service I am getting a cgi error when gallery is clicked.

    HTTP Error 403.1 - Forbidden: Execute access is denied.

    Runs ok on localhost.




  •  04-08-2005, 2:00 PM 3715 in reply to 3610

    Re: ImageGallery Problem

    This has not solved the problem, and the preview button does not work either.  Please help.  The following is the code for my free textbox:

    FTB:FreeTextBox id="txtBody" ImageGalleryUrl="~/webadmin/" ImageGalleryPath="~/images/user/" runat="server"






  •  04-24-2005, 12:59 PM 3840 in reply to 3715

    Re: ImageGallery Problem

    What you should probably do is setup a page where you can check what the ImageGalleryUrl is set to by default:

    Response.Write(MyFreeTextBox.ImageGalleryUrl)

    Then you can see where FTB is looking to find it. The file ftb.imagegallery.aspx is supposed to be in the same directory as the form which calls it. IE:

    www.mysite.com/forms/myform.aspx (calling form)
    www.mysite.com/forms/ftb.imagegallery.aspx

    JD

    John Dyer
    freetextbox.com
  •  11-27-2005, 6:03 PM 5269 in reply to 3610

    Re: ImageGallery Problem

    Try this one in the ftb.imagegallery.aspx fil
     <body>
      <form id="Form1" method="post" runat="server">
       <FTB:ImageGallery id="Gallery" runat="server" />
      </form>
     </body>


    Good luck..........
    Grener
    Grener
  •  11-27-2005, 6:15 PM 5270 in reply to 5269

    Re: ImageGallery Problem

    This one works even better...

    <body>
    <form id="Form1" enctype="multipart/form-data" runat="server">
     <FTB:ImageGallery id="Gallery" AllowImageUpload=true runat="server" />
    </form>
    </body>

    Grener
    Grener
  •  03-25-2006, 3:37 PM 6070 in reply to 3656

    ImageGallery Problem: Failed to insert an image

    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;
    
  •  03-25-2006, 3:42 PM 6071 in reply to 3610

    Re: ImageGallery Problem

    you need to set the following property ImageGalleryPath. i set mine from the code behind, like this.

    control = (FreeTextBox) this.FindControl("usercontrolFTB");
    control.ImageGalleryPath = "admin/Image Gallery";

  •  10-10-2006, 1:34 PM 7347 in reply to 3646

    Re: ImageGallery Problem

    Have you copied the aspnet_client folder in your project?


  •  11-14-2006, 9:33 PM 7575 in reply to 3840

    Re: ImageGallery Problem

    John,

     

    I've tried every example that you have in your download.

    I'm still having the same problem!

    The image gallery doesn't show up when you click on the 'Edit Images' Button.

    Instead I get a prompt for a Script Prompt, Enter URL: .

    I have the FTB.imagegallery.aspx in the same folder (root).

    The url is 208.153.119.246/default2.aspx

    Here is the code: (straight from your default example, except for the response.write)

    <%@ Page Language="C#" ValidateRequest="false" Trace="false" %>

    <%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>

    <script runat="server">

    protected void Page_Load(Object Src, EventArgs E) {

    if (!IsPostBack) {

    FreeTextBox1.Text = "<p><a href=\"http://www.freetextbox.com\" target=\"_blank\">FreeTextBox</a></p><p>some <b>Bold</b> and <u>underlined</u> and <font color=\"#008000\">colored</font> text<p><ul><li>bulleted list 1</li></ul><form><table border=1><tr><td>Name</td><td><input type=text></td></tr><tr><td>Secure</td><td><input type=checkbox></td></tr><tr><td>Category</td><td><select><option>Shopping</option><option>Clothes</option></select></td></tr></table></form>";

    }

    }

    protected void SaveButton_Click(Object Src, EventArgs E) {

    Output.Text = FreeTextBox1.Text;

    }

     

    </script>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head>

    <title>All Features</title>

    <script>

    </script>

    </head>

    <body>

    <form id="Form1" runat="server">

    <h2>All buttons and drop downs enabled</h2>

    <div>

    <FTB:FreeTextBox id="FreeTextBox1" OnSaveClick="SaveButton_Click"

    toolbarlayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu,FontForeColorPicker,FontBackColorsMenu,FontBackColorPicker|Bold,Italic,Underline,Strikethrough,Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage|Cut,Copy,Paste,Delete;Undo,Redo,Print,Save|SymbolsMenu,StylesMenu,InsertHtmlMenu|InsertRule,InsertDate,InsertTime|InsertTable,EditTable;InsertTableRowAfter,InsertTableRowBefore,DeleteTableRow;InsertTableColumnAfter,InsertTableColumnBefore,DeleteTableColumn|InsertForm,InsertTextBox,InsertTextArea,InsertRadioButton,InsertCheckBox,InsertDropDownList,InsertButton|InsertDiv,EditStyle,InsertImageFromGallery,Preview,SelectAll,WordClean,NetSpell"

    runat="Server" />

    <asp:Button id="SaveButton" Text="Save" onclick="SaveButton_Click" runat="server" />

    </div>

    <div>

    <asp:Literal id="Output" runat="server" />

    </div>

    <%Response.Write(FreeTextBox1.ImageGalleryUrl); %>

    </form>

    </body>

    </html>

     

    Why is this not working?

     

    Thanks,

    Mike

  •  11-30-2006, 12:41 AM 7659 in reply to 7575

    Re: ImageGallery Problem

    I would like to hear the answer to this as I am having this issue as well.

    Thanks,
    Derek

  •  06-04-2007, 11:36 AM 8272 in reply to 7659

    Re: ImageGallery Problem

    I tried everything here and it didn't work. Glad I didn't pay for the "NOT" so FreeTextBox version.
  •  09-17-2008, 7:04 PM 9443 in reply to 8272

    Re: ImageGallery Problem

    Wow... it's 2008, and the last post for this was last year 2007...

    Bad thing is, I'm having the similar issues. That's not very good service, especially since i've received no response in any of my forum posts...

    In any case, if there is someone who can solve this. I'm using ver. 3.1.6, IE7, vs2008. I've followed the instructions to the letter. My problem is, when I click on the upload image icon, i actually do get the upload modal to come up. However, there is nowhere in this modal that i can actually upload a file. What the heck am i missing?

    I'd put a screen print on here, but I can't... irony...

Page 1 of 2 (16 items)   1 2 Next >
View as RSS news feed in XML
www.freetextbox.com