nicky8694 — 2012-10-24T18:25:40-04:00 — #1
Ive just completed a website and it take along time to load a page after i publish it .i sliced and converted most of the images from Adobe Fireworks
and save them and png, the file size for the home page is over 800mb is this too high . pls can some one help as im new to the site and sort of new to webdesign
thank u Nicky
ralphm — 2012-10-24T19:02:12-04:00 — #2
Hi nicky. Welcome to the forums.
:eek: :eek: :eek: :eek:
Yes, that's about 10000 times bigger than it should be—seriously.
One thing you need to do with images is use the Save for Web feature, which strips out all of the unnecessary data. You should be able to get the images to well under 100kb each. Also, be careful not to use more images than necessary. The word "slice" is kind of out of date, in my opinion, as you mostly shouldn't need to slice images at all with modern CSS.
nicky8694 — 2012-10-24T19:18:42-04:00 — #3
Thank you Ralph .m .is there a way on fireworks I can convert.the images.and also shall I convert to jpg?
ralphm — 2012-10-24T19:29:43-04:00 — #4
I don't use Fireworks, but yes, it does have a Save for Web option, and you can choose any format—jpg, gif, png etc. I usually choose whicherver version turns out smaller.
john_betong — 2012-10-25T00:13:51-04:00 — #5
I used to do that but now make a special point of saving all web images as JPGs. The reason is that the PHP thumbnail software I use reduces the dimensions of a PNG but the file size is huge compared to an equivalent JPG formatted imagel.
ralphm — 2012-10-25T00:16:06-04:00 — #6
Yeah, usually pngs are bigger, but only by a little bit in Ps/Fw. So I tend to use them only if I need a crisper image or transparancy. I alwasy like to check the versions, just to see what's available.
sdgsteve — 2012-11-08T08:53:51-05:00 — #7
Biggest web page ever!
It might sound obvious but are you sizing the images to be the right size? Usually when I come across vast pages they have images 3000px wide for 100px thumbnails, all they need to do is size the images properly and the file size comes right down.
jonasmarsh621 — 2012-11-08T20:15:18-05:00 — #8
Talk about big. That is one big image. I usually go for smaller types but are easy on the eyes. Sometimes average sizes are best for a website.
resabi — 2012-11-13T09:55:25-05:00 — #9
Greetings, here's a few tips:
If you have linear gradients in your background, try slicing an image 1px wide (if vertical) or high (if horizontal), and use with CSS background repeat property. This can dramatically reduce the size of images for the background. There's another way to do it without images in CSS3, but some old browsers won't support it.
Put as much text as possible in the HTML as text instead of image. This would probably save you lots of megabytes. You can format it with CSS also.
If you have a large image that really has to be left as an image, try saving it as JPG (lower the quality if possible to get an optimal file size) and turn Progressive on. If it's still too large, slice it into smaller images so they could load separately, but in most cases this is unnecessary.
Hope this helps.
sahostking — 2012-11-22T07:33:55-05:00 — #10
I used PunyPNG website - it's quite good for this task
promptspace — 2012-11-22T12:01:28-05:00 — #11
I am still guessing that most of your content has not been sliced and coded properly and you are using large PNG slices. Quite difficult to get a page size that huge upon slicing.
felgall — 2012-11-22T15:20:48-05:00 — #12
But the only older browsers that are still in use are all versions of Internet Explorer which have their own proprietary way of creating linear gradients and so if you use IE conditional comments you can create linear gradients in all modern browser without needing any images at all.
vincewicks — 2012-11-27T09:06:30-05:00 — #13
Try to turn on gzip compression on your webserver. Also nginx with LAMP most likely will improve speed of website loading.
hanisharun_com — 2012-12-02T23:03:22-05:00 — #14
yes used gzip compression, the use page cache for your website..I've write in brief on this here if you want to read.
Next thing is, separate image file with high size in different location. I always use 3rd party storage provider to store images, then place the link to the images on your website. This means you will have just a lines of code to refer to the image instead of store the image with you main website.
You can test your website performance here, I always test using this site SEO site Checkup
seanuk — 2012-12-03T04:24:45-05:00 — #15
it's great to use gzip, etc for compressing a site down, but before any of that ensure the site is optimised as much as possible first.
for images follow this general rule of thumb:
JPG: photos or images containing gradients
GIF: images of flat colour
PNG images of flat colour or image containing transparency
using PNGs throughout isn't recommended - they are great for images containing only flat colour but as soon as you have a gradient or blend of colours the file size goes through the roof.
if you post a link to the site, it will help people see specifically where you're going wrong to offer better advice.
picnictutorials — 2012-12-03T15:46:56-05:00 — #16
After you've fixed your image problem - put all JS in one file at the bottom of your website - and cache and gzip your site via htaccess http://www.visibilityinherit.com/code/yslow-&-google-page-speed-htaccess-code-how-to-speed-up-your-website.php
My site doesn't even load. It just pops open all at once
cotalika — 2012-12-06T03:56:35-05:00 — #17
if you want to make your website quickly accessible try not much showing on the home page, try setting it on the homepage only a few are displayed.