Results 1 to 3 of 3

Thread: Show all images in a directory

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2010
    Posts
    4

    Show all images in a directory

    I would like to make a default.aspx file with very minimum code to display ALL images in a given directory. Could someone please show me an example of this. The images should just display on the page one after another. No need for anything complex. I am using vb for language.
    Last edited by prog1; Sep 20th, 2010 at 10:49 PM.

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Show all images in a directory

    Hey,

    Here is a very simple example:

    http://www.4guysfromrolla.com/articles/070704-1.aspx

    There is quite a lot to think about with what you are asking, so in all likelihood, it will take a fair bit of code to get up and running correctly. For instance, do you want to create thumbnails of the images on the fly so that you don't have to serve out the whole image.

    You might also want to think about using this:

    http://www.huddletogether.com/projects/lightbox2/

    Gary

  3. #3
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: Show all images in a directory

    hay prog,
    I've looked at Gep link and i agreed it will provide a good sample,
    do you still facing problems ?
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width