If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > image library display

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-27-08, 17:15
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
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
Twitter | Blog
Reply With Quote
  #2 (permalink)  
Old 01-28-08, 08:58
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
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
Twitter | Blog
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On