Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Other Development Tools
 How to display images one by one in ASP

Author  Topic 

Mamatha
Posting Yak Master

102 Posts

Posted - 2005-05-25 : 02:45:32
Hi

I have some images in database,now i want to display those images in HTML page without my interaction means it will display automatically one by one.How can i do this.I know this logic in windows application by using timer control,but i want to display it in HTML page.Is there any solution for this.
I want to display image in particular time.If that time of image is over then next image will come into picture.By this way the images will display.
Please give me any suggetion for this.
Thanks in advance.


Mamatha

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2005-05-25 : 07:39:19
Really dont understand what you mean, 'cause.

I am assumming if the user requests for a page at 8.00am, and it displays a certain image. and your site is to display another image at 9.00am, i dont expect that same user to be on that page ?

If he is, he would have to refresh the page to see the alternative image ?

Else, if its to display images, create a recordset,
2. List the images in your db
3. write an asp script to display the images

I would advice you post your code here, and i could manipulate it for you.
else i could assist you write one

Afrika
Go to Top of Page

MichaelP
Jedi Yak

2489 Posts

Posted - 2005-05-25 : 11:19:21
You want to do a META REFRESH.

You page needs to load on image, wait for some number of seconds, and then load the next image right?
Do some searching on Meta Refresh.

Michael

<Yoda>Use the Search page you must. Find the answer you will.</Yoda>
Go to Top of Page

AjarnMark
SQL Slashing Gunting Master

3246 Posts

Posted - 2005-05-25 : 11:52:58
Or if they are a small number of images you want to rotate, and not too large of file size, you could manipulate this with client-side JavaScript.

---------------------------
EmeraldCityDomains.com
Go to Top of Page
   

- Advertisement -