:: Forum >> General/Off-topic >>

Load Photoshop Slices quicker?? PLEASE HELP!!

Hi, I've created a website through slicing in Adobe Photoshop CS(ImageReady) and the page loads all the images in the table slowly. Is there anyway to load all content at once on each page? I realise there is no way to load the page quicker as it is made of images, but is there way of making this process smoother?

Please, Please help!

Rix sudra
Thursday, May 18, 2006
I don't think this is really an AW thing ... but, before the page generates you an issue a preload function to load all the images pieces.

The page itself will not load/generate quicker. But it might give the illusion that it is.

I use Dreamweaver for html development. Below is a function that does the image preloading (it is a Dreamweaver-provided function, but it should work with anything):

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_pd.MM_p=new Array();
i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0i<a.lengthi++)
    if (
a[i].indexOf("#")!=0){ d.MM_p[j]=new Imaged.MM_p[j++].src=a[i];}}
And in the BODY tab, it would look something like this:

<body onLoad="preloader();MM_preloadImages('images/survey/survey-on.gif');" I'd have to look at one of my other examples to see how to list a bunch of images to preload - but I know it can be done.

If you need any help, let me know.
Thursday, May 18, 2006

This topic is archived.

Back to support forum

Forum search