Displaying thumbnails

Discussion in 'ASP .Net' started by Shelly, Sep 10, 2007.

  1. Shelly

    Shelly Guest

    I have progressed in my learning experience to where I have uploaded [.jpg]
    files to a particular directory. I now want to display those images as
    thumbnails of 170px by 170px with up to four in a row with a 170px wide
    textbox under each image. If there are six images, then there would be two
    rows. The first would have four and the second would have two.

    I can easily do this if I know beforehand how many total images there will
    always be, and then program the display statically for that number.
    However, I would like the display aspect to be dynamic with respect to the
    total number of images. (I can get that from a count in the directory).

    So, how do I get started in this process?

    --
    Shelly
     
    Shelly, Sep 10, 2007
    #1
    1. Advertising

  2. Look at the DataList class. It allows databinding with placing several items
    in a row. And you can make an itemtemplate with an image and a textbox.

    --
    Eliyahu Goldin,
    Software Developer
    Microsoft MVP [ASP.NET]
    http://msmvps.com/blogs/egoldin
    http://usableasp.net


    "Shelly" <> wrote in message
    news:...
    >I have progressed in my learning experience to where I have uploaded [.jpg]
    >files to a particular directory. I now want to display those images as
    >thumbnails of 170px by 170px with up to four in a row with a 170px wide
    >textbox under each image. If there are six images, then there would be two
    >rows. The first would have four and the second would have two.
    >
    > I can easily do this if I know beforehand how many total images there will
    > always be, and then program the display statically for that number.
    > However, I would like the display aspect to be dynamic with respect to the
    > total number of images. (I can get that from a count in the directory).
    >
    > So, how do I get started in this process?
    >
    > --
    > Shelly
    >
     
    Eliyahu Goldin, Sep 10, 2007
    #2
    1. Advertising

  3. Shelly

    Shelly Guest

    "Eliyahu Goldin" <> wrote in
    message news:...
    > Look at the DataList class. It allows databinding with placing several
    > items in a row. And you can make an itemtemplate with an image and a
    > textbox.


    Thanks. I'll start there.

    --
    Shelly

    >
    > --
    > Eliyahu Goldin,
    > Software Developer
    > Microsoft MVP [ASP.NET]
    > http://msmvps.com/blogs/egoldin
    > http://usableasp.net
    >
    >
    > "Shelly" <> wrote in message
    > news:...
    >>I have progressed in my learning experience to where I have uploaded
    >>[.jpg] files to a particular directory. I now want to display those
    >>images as thumbnails of 170px by 170px with up to four in a row with a
    >>170px wide textbox under each image. If there are six images, then there
    >>would be two rows. The first would have four and the second would have
    >>two.
    >>
    >> I can easily do this if I know beforehand how many total images there
    >> will always be, and then program the display statically for that number.
    >> However, I would like the display aspect to be dynamic with respect to
    >> the total number of images. (I can get that from a count in the
    >> directory).
    >>
    >> So, how do I get started in this process?
    >>
    >> --
    >> Shelly
    >>

    >
    >
     
    Shelly, Sep 10, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Franco Gustavo

    OpenDialog and thumbnails

    Franco Gustavo, Aug 27, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    1,095
    Franco Gustavo
    Aug 27, 2003
  2. Kenneth Keeley

    Displaying PDF Thumbnails

    Kenneth Keeley, Jul 3, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    438
    Kenneth Keeley
    Jul 3, 2003
  3. Espen Evje
    Replies:
    1
    Views:
    393
    Espen Evje
    Jul 11, 2003
  4. Rick Spiewak

    Re: Create thumbnails on the fly

    Rick Spiewak, Jul 24, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    491
    David W. Simmonds
    Jul 25, 2003
  5. Cloud Burst
    Replies:
    8
    Views:
    614
    Gary Mc
    Jan 14, 2004
Loading...

Share This Page