Hi Ronald,
You have many unnecessarily large images - starting with the main
background,
herfstblad-back2-.jpg - 3194 x 2504 pixels
Compressed, its transmission size is nearly a megabyte - that’s about 9
times larger than I would allow for a heavy load background image. This
puts a heavy burden on the user to download the image to their browser.
Worse, the decompressed size is almost 23 megabytes, which then puts a
heavy burden on the user’s browser AFTER it has been downloaded.
The largest I will allow a background image to grow to is 1600 x 1200
pixels. This is only my preference and you should also consider all the
other images a page must load. Here is a link to how I have solved your
problem:
http://cssway.thebigerns.com/workbench/du_jour/ronald_botman_background/index.html
Using Photoshop to resize the background to 1600 pixels wide, then using
the Save for Web and Devices to progressive jpg at quality of 30.
Transmission load now 73kb (down from 934kb) and a browser load of 5.7mb
(down from 23).
Now to get it to fit whatever the browser window size is, there is a small
CSS trick you can use to let current browsers take care of the scaling
issue - it’s been discussed a few times on this list but here it is again
for your sake. Simply add this to your body tag
background-size: cover;
That solves your background, but there is a second background image buried
in the page layout itself that is contributing to your problem. Now this is
more difficult, as you are using table layout for this and I generally do
not comment on table layouts, but there is a solution that will help reduce
the graphic load on even this type of layout… a solid-color
semi-transparent png to give the illusion I think you are trying to
achieve. Look at my sample page again… that central background is actually
a semi-transparent png I made in photoshop by sampling the darkest color of
your image and giving it some transparency, then replacing the current
images with it.
Here are links to both images that I used:
http://cssway.thebigerns.com/workbench/du_jour/ronald_botman_background/herfstblad-back2-thebigerns.jpg
http://cssway.thebigerns.com/workbench/du_jour/ronald_botman_background/transback.png
–
Ernie Simpson
On Thu, Sep 20, 2012 at 6:10 AM, Ronald Botman email@hidden wrote:
Hi all,
I’m working with Freeway for a short while now and made a site with
different background pictures for different pages.
My problem is that the background pictures take a long time to load if I
go from one page to an other.
Anyone a suggestion how I can improve this?
See the site www.perpetuabloematelier.nl
hope somebody can help me.
Ronald
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options