I have some images on my server folder and I would like to know is there a way to get that folder path and the filenames of images in that folder.
How do I access them?
This is how my folder structure looks like:

I understood that its a security issue and so I would like to know that I have done that using server side code but I would like to get that folder from codebehind to jquery.
Is that possible?
This is how I am trying to create a folder on my server and this can be retrieved using jquery:
IO.Directory.CreateDirectory(Server.MapPath("Uploads/" & tempDir))
You would have to output them in the page you are rendering.
So first you would need to build a collection of files on the server, then output that list on the page, perhaps in to a hidden field. You could then read this field using JavaScript.
Another alternative would be to enable directory browsing in IIS and then performing a GET request on that directory.