Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 630673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:52:51+00:00 2026-05-13T19:52:51+00:00

I use .NET C# , I dynamically create folder to store the image I

  • 0

I use .NET C# , I dynamically create folder to store the image I upload, ex:

strFolder = Server.MapPath("./folder/folder_"+folid+"/")

So I could create different folders according to the page unique id. I have also created a thumbnail image from the image I have upload (cropped ones).

The problem I am trying to figure out is to display these images as a slide show from these dynamically created folder (display thumbnail in the page and clicking the thumbnail need to see the full size image just like slideshow).

I was trying to see examples in jQuery but its just client side. So is there any way to load these images and display as a slide show from the directory. Should I deal with DirectoryInfo in C#? Expecting a simple one.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:52:52+00:00Added an answer on May 13, 2026 at 7:52 pm

    In the client side i have used jquery and Repeater Control in .net to bind the url and the thumbnail.
    I used lightbox and jquery to display the image.the client side code goes like this:

     <script type="text/javascript">
        $(function() {
            $('a[@rel*=lightbox]').lightBox(); 
        });
        </script>
    

    and the Repeater control is used to link the thumbnail and the url:

    <asp:Repeater id="imageRepeater" runat="server">
             <ItemTemplate>
        <a href='<%# Page.ResolveUrl((string)DataBinder.Eval(Container.DataItem, "largeImage")) %>' rel='lightbox'>
            <asp:Image ID="Image1" runat="server" ImageUrl='<%# Page.ResolveUrl((string)DataBinder.Eval(Container.DataItem, "thumbImage")) %>' Width="100" Height="75">
            </asp:Image></a>
             </ItemTemplate>
            </asp:Repeater>
    

    in the code behind we could bind it withe the dataset.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 346k
  • Answers 346k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Try using Server.MapPath. This is much better to use in… May 14, 2026 at 6:05 am
  • Editorial Team
    Editorial Team added an answer The problem is precedence. The simplest solution: (post['Caption'] = a_function_that_may_fail)… May 14, 2026 at 6:05 am
  • Editorial Team
    Editorial Team added an answer In this question someone provides a link (second answer) to… May 14, 2026 at 6:05 am

Related Questions

I already searched for this and I did not find the answer I was
On the subject of dynamically storing temporary images and handling their cleanup on a
I need to populate a .net DataGridView from a collection physically (without data binding)
I have the need to extend instances of various types at runtime. Most of
I'm looking for a .NET (much preferably open source in C#) library for dealing

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.