Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Adding loading screen

  • This topic is empty.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #43955
    iamRDM
    Participant

    Hello, i need help in adding loading screen to my website.
    Because my website contains a lot of images and take some time to load.
    So I’m thinking about adding a Loading screen. But I don’t know how to do it.
    Any help will be very grateful :)

    #130970
    Kitty Giraudel
    Participant

    Have you thought about optimizing loading time before adding a loading screen?

    #130974
    iamRDM
    Participant

    i want to add loading screen because the main page is having like 10 images
    each image is of size approx 3MB -_-

    #130975
    Kitty Giraudel
    Participant

    What about compressing images? Using a 3Mb image on the web is silly. Using 10 is 10 times sillier.

    #130976
    iamRDM
    Participant

    Its a photography website, even i think its silly but the client want it this way -_-

    #130977
    iamRDM
    Participant

    Help me how to add a loading screen

    #130978
    Kitty Giraudel
    Participant

    No. The client wants his photographs to look great, as they look on his reflex. This is totally understandable.

    So he gives you large / HQ pictures (to you or an admin interface), they you (or the AI) have to compress / resize these pictures so they look great without overloading the page.

    Did you set up a resizing / compressing system?

    Then if once pictures are resized/compressed the page is still heavy, you should rely on AJAX loading instead of a loading screen.

    #130980
    iamRDM
    Participant

    Any guide to “How to use AJAX loading” ?

    #130982
    pixelgrid
    Participant

    firstly optimizing your images can help on speed and bandwith.
    you can find even free programs which optimize images for web usage ,

    then you will have to read about image asynchronous loading .
    this is a good article http://perishablepress.com/3-ways-preload-images-css-javascript-ajax/,
    if the images are taking the whole page and the next one is revealed though scrolling maybe even infinite scroll would fit your needs(http://www.infinite-scroll.com/)

    #131010
    JayJay141
    Participant

    I agree with @HugoGiraudel the server can do so much, Compressing a images should be every web developer priority, all you have to do on your CSS is work on your dimension give it a max-height and a max-width so when you displayed your image on the browser it wont stretch the image but fit the image appropriately.

    here check out this link I found hopefully this may help.

    http://stackoverflow.com/questions/3642541/max-width-and-max-height-for-scaling-images-in-internet-explorer

    #131012
    iamRDM
    Participant

    Now i think you guys are right. I must drop the idea of ajax loading.
    Thanks for your help guys :)

Viewing 11 posts - 1 through 11 (of 11 total)
  • The forum ‘CSS’ is closed to new topics and replies.