-
Apr 28th, 2017, 04:45 AM
#1
Thread Starter
Member
How to make automatic browsing to images from database ?
I work in MVC 5 c# in visual studio 2015 web applications
I have table pictures in SQL server 2012 have two fields
ID
Image
ID have number of image inserted like 1,2,3,4,5
Image field store picture added
what i need actually browsing images found in table pictures in database from last image inserted to first in page
and browsing between every image and another 1 second automatically without using button or scroll
suppose i have 4 images in database in table pictures
after page open picture 4 display after 1 second picture 3 display after 1 second picture 2 display after 1 second picture 1 display .
How i do that please ?
-
May 14th, 2017, 10:24 AM
#2
New Member
Re: How to make automatic browsing to images from database ?
Make an Action ( with id parameter) to retrieve image id from database
Make in the .cshtml page a https://www.w3schools.com/jsref/met_win_settimeout.asp in order to call the images and display
Cache the result for better performance
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|