Integrate into website

Last post 08-06-2007, 5:05 AM by Megabyte. 5 replies.
Sort Posts: Previous Next
  •  08-02-2007, 7:06 AM 32114

    Integrate into website

    Hi Adam,
     
    I've installed the demo of dotnetgallery and I've also created a Virtual Directory - http://www.logistixonline.com/logistixgallery/
     
    I'd like to integrate dotnetgallery so visually it looks like the rest of my cute chat website. Could you show me what the code should look like with dotnetgallery integrated?
     
    Many thanks
     
    Mike
  •  08-02-2007, 1:20 PM 32123 in reply to 32114

    Re: Integrate into website

    Mike,
     
    DotNetGallery is a user control.
     
    You can plug it into any page you want.
     
    To add DotNetGallery to an ASP.NET page, do the following:

    1. Add the following line to the top of your page:

       <%@ Register TagPrefix="CE" Namespace="DotNetGallery" Assembly="DotNetGallery" %>


    2. Add the following code between <form runat="server"> tags:


      <CE:Gallery
        id="gallery1"
        runat="server"
        Width="600"
        LayoutRenderMode="SimpleGrid"
        Column = "6"
        MaxImageWidth="1024"
        BackColor="#ffffff"
        CellPadding="5"  
        AutoResizeUploadedImages = "true"  
        CellSpacing="5"
        ForeColor="#000000"
        BorderColor="#cc0000"
        BorderStyle="solid"
        BorderWidth="0"
        CssClass="container"
        ShowUpload="true"
        ShowEditDescription="false"
        ShowThumbNailName="true" 
        ShowThumbNailSize="true" 
        ShowThumbNailDate="false" 
        ShowThumbNailDescription="true" 
        ShowDescriptioninIndexView="false"
        FolderPath = "~/samplefolder"
       ></CE:Gallery>
     
     

    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

  •  08-02-2007, 4:27 PM 32134 in reply to 32123

    Re: Integrate into website

    Thanks Adam it works a treat, however I have a few small problems I hope you can help with.
     
     
    1. Clicking on the Slide Show button loads, but no images are displayed. Any ideas what's causing this?
     
    2. On the Slide Show page, how do I change the Help icon link from http://cutesoft.net/ ?
     
    3. How do I change the Home page icon link? At the moment it goes to the root of my website, whereas I want it to point to a sub-directory on my website.
     
    4. What does the Batch Gallery Index Build do? When I click it, the Next> link at the bottom of my page disappears. Is this normal?
     
    5. I can adjust the number of columns, but where do I adjust the number of rows?
     
    Many thanks
     
    Mike
     
     
     
     
  •  08-02-2007, 4:39 PM 32135 in reply to 32134

    Re: Integrate into website

    Mike,
     
    >>1. Clicking on the Slide Show button loads, but no images are displayed. Any ideas what's causing this?
     
    You have set LayoutRenderMode property to simpleGrid. Slideshow is not available in this layout mode.
     
    You have to two chioces:
     
    1. Use SimpleGrid mode and set Gallery.ShowSlideShow Property to false
     
    2. Use ThumbnailSlideShow mode.
     
    >>2. On the Slide Show page, how do I change the Help icon link from http://cutesoft.net/ ?
     
    Gallery.HelpUrl Property
    Specifies the URL path of the Help page button.
    >>3. How do I change the Home page icon link? At
     
    Gallery.HomeUrl Property
    Specifies the URL path of the Home page button.
    >>4. What does the Batch Gallery Index Build do? When I click it, the Next> link at the bottom of my page disappears. Is this normal?
     
    This poweful button will help you build the gallery from scratch.  After you create this button, you show make sure you set this button visible to average users (Gallery.ShowBatchBuild Property).
     
    >>5. I can adjust the number of columns, but where do I adjust the number of rows?
     
    Gallery.Row Property
    The Row of the thumbnails.
     
     
     
     
     
     

    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

  •  08-02-2007, 6:15 PM 32137 in reply to 32135

    Re: Integrate into website

    Hi Adam,
     
    Thanks for your help, everything's working great now!
     
    Mike
  •  08-06-2007, 5:05 AM 32176 in reply to 32137

    Re: Integrate into website

    Hi Adam,
     
    Is there anyway to restrict how many images can be uploaded to a single directory?
     
    Mike
View as RSS news feed in XML