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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:49:50+00:00 2026-05-23T02:49:50+00:00

Problem: I am creating an album.So on every press of time NEXT button I

  • 0

Problem: I am creating an album.So on every press of

time “NEXT” button I am loading new Images. What I want to achieve is, I want to switch from old image to new image only once the new images has been downloaded fully from server.

Actually I dont want to show partial images while loading.

Is there any solution?

PS SIMILAR QUESTION but this is for Iphone. I need for browser?

  • 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-23T02:49:51+00:00Added an answer on May 23, 2026 at 2:49 am

    Just make a new image via javascript, and only show the image after the onload has fired. This will make sure you don’t see any partial rendering of the image.

    Live Demo

        var curImg = new Image();
    
        curImg.src = "url to your image";
        curImg.onload = function(){
            // do whatever here, add it to the background, append the image ect.
            imgHolder.appendChild(curImg);   
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have problem creating new instance of excel 2007 using VBA (from Access 2002).
I'm creating PHP, Javascript based photo-gallery from scratch The problem is, I want to
I have a problem creating a std::map<int, int> from a vector of pointers, called
I am having problem creating a new directory inside my FTP using mkdir, here
I have a problem creating a decent header in CSS. What I want is
I have a strange problem creating new counters in existing group. I have a
I'm having a problem creating a new CompositeControl. Currently I have a custom control
I am having a problem creating new instances of an object. Using the below
have a problem creating my new table in SqlLite3 I have created this migration
Problem creating new records in postgres database. Using Heroku Cedar stack and Rails 3.2.

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.