Sean-Michael Posted November 29, 2006 Share Posted November 29, 2006 I was wondering if anyone knew how to set images to load in the horizontal direction, like the images load for this site, here is the same exact script on my server. I'm not sure if this is a server or php setting. Who knows maybe my server does this and I don't see it because there's very little wait for images to load.Thanks in advance for help, Link to comment Share on other sites More sharing options...
boen_robot Posted November 29, 2006 Share Posted November 29, 2006 I don't think that's possible at all. It's part of the image format's specification. PNGs can be drawn progressively, but even they can't be drawn horizontally. Link to comment Share on other sites More sharing options...
justsomeguy Posted November 29, 2006 Share Posted November 29, 2006 You can't control that. You can set it to load progressively, which means it loads the entire image at low resolution, then the next pass is a little higher, then the next is a little higher up until the full resolution. But if it is not progressive, it will load top-down because of how the bytes in the file are arranged. The bytes are arranged, and are read by the browser, to be the first row (however wide it is), then the second row, then the next, then the next etc. In order for the thing to load horizontally, the browser would have to download the entire file (so it could display the entire thing anyway), and then draw the first column, and the second column, third, etc.So, in short, no you can't do that. The only option you really have with a JPEG is if it is progressive or not. GIF calls the same thing interlacing. Link to comment Share on other sites More sharing options...
Sean-Michael Posted November 29, 2006 Author Share Posted November 29, 2006 I'm a goof, I used the wrong term I believe, what I meant was to say to load vertically as justsomeguy described.I will need to look further into "JPEG progressive" and "GIF interlacing" and how to do it with gimp.Thank you both, you have pointed me in the rite direction! Link to comment Share on other sites More sharing options...
justsomeguy Posted November 29, 2006 Share Posted November 29, 2006 If you save as a JPEG, there will be a screen with JPEG options, and under Advanced Options is a checkbox for progressive. Link to comment Share on other sites More sharing options...
Sean-Michael Posted November 29, 2006 Author Share Posted November 29, 2006 ok, but, I'm still not sure that since I am the host that I cannot see the effect, can some check it for me please.Here, Link to comment Share on other sites More sharing options...
justsomeguy Posted November 29, 2006 Share Posted November 29, 2006 It looks like it loads the entire image before it shows it, so you don't see it loading at all, it just appears. Link to comment Share on other sites More sharing options...
Sean-Michael Posted November 29, 2006 Author Share Posted November 29, 2006 So I assuming that unless its a really large image or a slow host the effects will not show? It looks like it loads the entire image before it shows it, so you don't see it loading at all, it just appears.lol, I added a lil 2mb picture and see a little effect lol thanks for your help! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now