Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10

    Unanswered: image library display

    I am using an SQLS2K5 BE to my ASP page; retrieving information through sprocs...

    One sproc returns image information which includes the relative file path for the image; i.e.
    Code:
    /images/frontdoor.jpg
    Now the requirements I have is to display thumbnails in a grid of a given width (x images across).

    I can't think the way of doing this at the moment; any suggestions?

    Unfortunately I can't think of a better way to explain this; so any questions are more than welcome!
    George
    Home | Blog

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Turns out the easiest (and best) way of doing this is to use CSS (duh!)

    Using a container and
    Code:
    #container {
      width: 800px;
    }
    
    .img {
      float: left;
    }
    Thsi will just push thie images on to a new line when needed; so no need for the rigid spec
    George
    Home | Blog

Posting Permissions

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