# Help with Image Gallery in asp.net

**URL:** https://forum.kirupa.com/t/help-with-image-gallery-in-asp-net/249821
**Category:** programming
**Created:** [January 22, 2008, 9:11pm UTC](https://forum.kirupa.com/t/help-with-image-gallery-in-asp-net/249821 "2008-01-22T21:11:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![klh](https://avatars.discourse-cdn.com/v4/letter/k/f07891/32.png) [@klh](https://forum.kirupa.com/u/klh)
#### Post date: [January 22, 2008, 9:11pm UTC](https://forum.kirupa.com/t/help-with-image-gallery-in-asp-net/249821/1 "2008-01-22T21:11:53Z")

</div>

Hi:  
I have taken on a website for redesign and have been asked to fix a few code problems as well. I am only familiar with CSS and HTMl and some PHP, but can pick up coding pretty quickly if needed.  
The lady has an image gallery in which she uploads a thumbnail and then the regular sized image along with a caption. The page is capturing her text and recognizing that an image is being uploaded, but all I get in the online gallery is a block or image place holder stating it’s a broken image and nothing is uploaded into the library where all of the images are stored. Any suggestions as to where I should even start looking for the problem? Here is the code for the “save” button on the upload image page- not sure if that’s where the problem lies:

```
    &lt;asp:ImageButton ID="btnSave" Runat="server" ONMOUSEOUT="window.status=''" onMouseOver="window.status='Save';return true"
                                            imageurl="../images/btnsave.gif" OnClick="btnSave_Click"&gt;&lt;/asp:ImageButton&gt;
                                    &lt;/td&gt;
                                    &lt;td&gt;&nbsp;&lt;/td&gt;
                                    &lt;td&gt;
                                        &lt;asp:hyperlink ID="hlCancel" Runat="server" imageurl="../images/btncancel.gif" ONMOUSEOUT="window.status=''"
                                            onMouseOver="window.status='Cancel';return true" NavigateUrl="../management/admin_gallery.aspx"&gt;&lt;/asp:hyperlink&gt;
                                    &lt;/td&gt;
                                &lt;/tr&gt;

```

and here it is for the browse buttons:

```
&lt;input type="file" runat="server" id="fThumbnail" NAME="fThumbnail" class=box3&gt;
                                &lt;asp: panel ID="pnlThumbnail" Runat="server" Visible="false"&gt;
                                    &lt;asp:HyperLink id="hlThumbnail" CssClass="orangelink" Runat="server"&gt;&lt;/asp:HyperLink&gt;
                                &lt;/asp: panel&gt;&lt;/SPAN&gt;
                        &lt;/TD&gt;
                    &lt;/TR&gt;
                    &lt;TR&gt;
                        &lt;TD COLSPAN="2"&gt;&lt;SPAN Class="bodycopy"&gt;Large Image&lt;BR&gt;
                                &lt;input type="file" runat="server" id="fLarge" NAME="fLarge" class=box3&gt;
                                &lt;asp: Panel ID="phLarge" Runat="server" Visible="false"&gt;
                                    &lt;asp:HyperLink id="hlLarge" CssClass="orangelink" Runat="server"&gt;&lt;/asp:HyperLink&gt;
                                &lt;/asp: Panel&gt;&lt;/SPAN&gt;

```

Any sort of help or direction would be greatly appreciated.
