0
Hi
Please check the below link to display the images present inside a directory in asp.net using jQuery.
In this code will display all the images files present inside a folder. as u add more images inside the folder code will display all the images.
Have a look of the link
0
Hi,
For displaying images using jQuery. You can use ajax function to read all the images of folder and then prepare the json data or html tag of all the images and then bind it to the control.
0
Hi Sameer,
I think you are referring to a folder located in the Server. If so, you cannot access your server recources using JavaScript or any other client side scripting language.
So, the solution is to render all the images to the HTML page and then use JQuery to display the same.
If you are using ASp.NET or PHP, you write some code (using System.IO if it is .NET) to iterate through all the images of your folder and render <img> tags by setting the "src" attrinbute to each of the images. And, then use JQuery to rotate them.
Thanks,
Prawin