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 3619728
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:54:55+00:00 2026-05-18T22:54:55+00:00

Im trying to build this gallery: How would I go about building this image

  • 0

Im trying to build this gallery:

alt text

How would I go about building this image gallery using jquery, and having the thumbnails populate automatically based on how many images I had in a folder? Id like to click the thumbnail and have it open a new page or div with a bigger image.

Id also like to make each thumbnail fade in 1 after the other.

  • 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-18T22:54:55+00:00Added an answer on May 18, 2026 at 10:54 pm

    This answer pertains to only the HTML/CSS/jQuery part of your question.

    If you want to show images in a folder instead of mini Google logos, you will need some simple server side code written in a language such as PHP or ASP.NET. If you are using PHP, I can write this for you.


    I’ve tested this in IE7/8, Firefox, Chrome.

    I’ve kept it as simple as I could while trying to keep the details you asked for:

    Live Demo

    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Demo Gallery</title>
    <style type="text/css">
    html, body {
        margin: 0; padding: 0; border: 0
    }
    #container {
        border: 1px solid red;
        background: #eee;
        width: 377px;
        height: 355px;
        padding: 0 0 5px 0;
        overflow-y: scroll
    }
    #container img {
        border: 1px solid red;
        float: left; margin: 5px 0 0 5px
    }
    </style>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {
    
        //fill container with test images
        $('#container').append(new Array(60).join('<a href="http://www.google.com/images/logos/ps_logo2.png" target="_blank"><img src="http://www.google.com/images/logos/ps_logo2.png" width="64" height="64" /></a>'))
    
        var $images = $('#container img');
    
        $images.hide();
    
        $images.each(function(index) {
            $(this).delay(index * 50).fadeIn();
        });
    
    });
    </script>
    </head>
    
    <body>
    
    <div id="container">
        <a href="http://www.google.com/images/logos/ps_logo2.png" target="_blank"><img src="http://www.google.com/images/logos/ps_logo2.png" width="64" height="64" /></a>
    </div>
    
    </body>
    </html>
    

    In response to your comments: Live Demo #2

    • I made all the “non-selected images” have 50% opacity.
    • When you hover over an image, it gets 100% opacity.
    • Visited images have a purple border instead of red.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build an image gallery with thumbnails and a display for a
I am trying to build this flash gallery using javascript. Can anyone point me
I'm trying to build an image gallery (or, ideally, find a jquery plugin) that
I'm having this problem. I'm trying to build an UITableView with data from a
I am trying to build this very simple (visually speaking) layout using HTML/CSS that
I’m trying to get an image using the built in gallery. It works fine
I'm trying to build this legitimate C++ code in HP-UX 11.11, using HP C/aC++
I am new to Jquery and and trying to build a simple gallery. I
Hi I'm trying to build a little gallery for myself and tried this link
I'm trying to build this iPhone sample: http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone but I'm having trouble since I

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.