/    Sign up×
Community /Pin to ProfileBookmark

My website is so slow and has a red background

Hi everyone this is my first post on here so be easy on me…I have just changed my templates on [url]www.match50.co.uk[/url] and [url]www.matchmeup.co.uk[/url] and when I open them up the images take ages to open up and as they are opening there is a deep red background. Could anyone help me please.

Many thanks

Stuart

to post a comment
Full-stack Developer

3 Comments(s)

Copy linkTweet thisAlerts:
@james_getsnappyJun 27.2009 — Optimizing Images for the Internet

Different Formats

There are four primary formats to choose from when optimizing images for the internet. Each format is different in how it stores and compresses image information. These four main formats include PNG-8, PNG-24, GIF, and JPEG. Below we will discuss the different formats and what images they work best with.

GIF

The GIF format is a bit-mapped image format and is the most commonly used format for web graphics. It supports up to 256 colors, transparency, and animation. Typically the PNG-8 format compresses better for most web images, although for really small images, or images that require transparency or animation, GIF is an ideal choice.

JPEG

The JPEG format works well for photographs and other large images with many colors because of it's lossy compression algorithm. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and image quality. This often allows large images to be compressed more than any other format with little or no perceptible loss of image quality

PNG-8

The Portable Network Graphics is a bit-mapped image format that uses a loss-less data compression algorithm. It was designed to be a replacement for the patented GIF's. This format does not support transparency, translucency, or animation. This format is the best choice for most internet graphics.

PNG-24

PNG-8 and PNG-24 are the same format, however when transparency, translucency, or more than 256 colors are used, 24 bits are used to represent each pixel instead of 8. This increases the size of the image and can usually be avoided. If only transparency is required than use the GIF format instead. Also try to avoid translucency by flattening the images so that you can use an image format with less overhead.

Choosing the Right Format

Adobe Photoshop has a nice feature within the "File -> Save for Web" function. It allows a nice 4-up view where you can compare the file size of three different image settings and compare the quality with the original. First compare the different formats GIF (with 256 colors), JPEG (high quality), or PNG-8 (with 256 colors) and decide which format is best suited for the given image based on the resulting image size. If JPEG is the best choice try to further compress the image by reducing the quality to an acceptable level. For PNG-8 or GIF images, try to compress the image further by reducing the number of colors used by the image. Often times you can reduce the number of colors down to 128, or even 64 colors, without any noticeable effect to the human eye.
Copy linkTweet thisAlerts:
@matchmeupauthorJun 30.2009 — Thanks James for the reply I will look at the images and see if I can reduce the size and see if that works.

Have you any idea on the deep red background as the site opens up for the first time?

Regards

Stuart
Copy linkTweet thisAlerts:
@tracknutJun 30.2009 — The class ".contant_part" has a dark red background, I'm guessing that's the one you're seeing.

Dave
×

Success!

Help @matchmeup spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...