- This topic is empty.
January 6, 2012 at 6:45 pm #36004
I have a general question.
I tried uploading a textured background to my blog instead of just a color. However, when I did, the site loaded extremely slow and the background would load in “waves” instead of all at once. This is probably because I actually uploaded an image that I just tiled.
But I’m puzzled because there are sites like this, where they have a slightly textured background, but no loading problems like I had. Or even this site, where they obviously have an image in the background but it loads just as fast as my single-color background. This site—CSS Tricks—is another option. The lines in the background, are they an image file?
I want to know how to have a textured background without making the site load suffer, as apparently these other examples have done.January 6, 2012 at 6:55 pm #94155joshuanhibbertMember
What size is the image you are loading?January 6, 2012 at 7:20 pm #94158
@jatthey The lines in the background of this site are using CSS gradients. The loading issue is because of the file size. Try reducing the image.January 6, 2012 at 7:32 pm #94160
The image is 2000×2000, 4.9 MB. I know that’s huge. I tried using a free image compressor I found online, but it didn’t help much at all.
Another thing about the image is that it doesn’t look 2000×2000 on the site, it looks much smaller.
Is using an image the only way to do this? What about “CSS gradients” or something else?January 6, 2012 at 7:35 pm #94162
Yeah, that is way too large. Can you link to the image?January 6, 2012 at 7:47 pm #94164TheDocMember
Holy hell that’s a massive file! Assuming it’s a repeating texture, you should only need a very small image.January 6, 2012 at 7:51 pm #94166
@joshuanhibbert @ChristopherBurton @TheDoc haha, I know that’s huge. So should I make the image really tiny, try to compress it, and see how that works? I can try linking it too, instead of uploading it, will that help?
Again, is this the only way to do it? An image file? Is there some other way? How do you think those other guys do it?January 6, 2012 at 7:53 pm #94167
@jatthey Can we please see the textured image you are speaking of to further help you?January 6, 2012 at 7:55 pm #94169TheDocMember
Like Chris is suggesting, the only way we can provide accurate help is by seeing what you’re dealing with!January 6, 2012 at 8:03 pm #94171
It’s huge, but obviously I can make it smaller.
It’s just barely textured, and the joins aren’t obvious.January 6, 2012 at 8:16 pm #94177January 6, 2012 at 8:24 pm #94182
You can also just check with developer tools to see how fast it loads if you’re using Chrome. Well done, Andy.January 6, 2012 at 8:26 pm #94186January 6, 2012 at 8:31 pm #94189
Sounds great to me!January 6, 2012 at 10:17 pm #94200joshuanhibbertMember
Glad to see this got sorted out :)
- The forum ‘Other’ is closed to new topics and replies.