ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old February 10th, 2000, 11:17 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Displaying Images

<i><b>Originally posted by : max (shawn@speaketh.com)</b></i><br />Hiya <br /><br />I am trying to post images onto webpages using ASP. <br />After the user search thru the database, 2 images(1 image for 1 record) will be displayed to one page(thus having 2 record display on one page)...and you can page thru the record(so if the search generate 10 record, you can page thru 5 pages). <br /><br />The thing now is the images displayed are both same. Let say there are 6 records -mouse, keyboard, scanner, monitor, ram, zip drive. The first page should display images of mouse and keyboard. But both the images displayed are mouse. And the second page displayed 2 images of scanner instead of image of scanner and monitor. <br /><br />Please help. <br /><br />here are the code I use: <br /><img src="<% =rst("Image") %>" width="330" height="400" <br />alt="<% =rst("Image") %>" align="left"><img src="<% =rst("Image") %>" width="330" height="400" <br />alt="<% =rst("Image") %>" align="left"> <br /><br />while the paging mechanism I just specify the pagesize. <br /><br />Thanx a million! <br /><br />

Reply With Quote
  #2  
Old February 11th, 2000, 01:44 PM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<i><b>Originally posted by : steve schofield</b></i><br />http://www.aspfree.com/asp/questionwinner2.asp?id=14 here is a link to displaying images out of a sql 7 db. I understand you want to based on which image this is which gif is displayed to the user. Being a db person I'd have a column that indicates which type of image this is. Then when writing out the record you could test for that in your recordset and based on that which image to be displayed..<br /><br />steve<br /><br />------------<br />max at 2/10/2000 9:17:59 PM<br /><br />Hiya <br /><br />I am trying to post images onto webpages using ASP. <br />After the user search thru the database, 2 images(1 image for 1 record) will be displayed to one page(thus having 2 record display on one page)...and you can page thru the record(so if the search generate 10 record, you can page thru 5 pages). <br /><br />The thing now is the images displayed are both same. Let say there are 6 records -mouse, keyboard, scanner, monitor, ram, zip drive. The first page should display images of mouse and keyboard. But both the images displayed are mouse. And the second page displayed 2 images of scanner instead of image of scanner and monitor. <br /><br />Please help. <br /><br />here are the code I use: <br /><img src="<% =rst("Image") %>" width="330" height="400" <br />alt="<% =rst("Image") %>" align="left"><img src="<% =rst("Image") %>" width="330" height="400" <br />alt="<% =rst("Image") %>" align="left"> <br /><br />while the paging mechanism I just specify the pagesize. <br /><br />Thanx a million! <br /><br />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Displaying Images


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway