displaying a huge amount of images on a page

I have a client who want to build a site like this:
http://www.buyacredit.com/pixeladwall

Building the site in FW and managing it with Perch is no problem and pretty straightforward.

The problems comes when displaying the avatars. They want to reach 1 million sales (proceeds going to charity), but I feel having a page with 1 million call backs to the servers is going to be too much.

So my question is, if I am able to get everything working, is there a piece of javascript available that can be applied to the page so that only the avatars in view are displayed rather than everyone loading?

Thanks
Nathan


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Wow when did 1999 come around again? I can’t believe this “million dollar
homepage” idea has clawed its way back from the depths of web history.

On your problem though, the simple solution is pagination is it not? Even a
thousand calls on a page and your gonna get dumped by the host - let alone
a million. By the way, avoid getting the purchaser to host their own
content and displaying it with iframes (as is often done) as its wide-open
to major abuse such as.

You really want to run that amount of javascript on the page - that’s
client side processing remember, what if I am on a tablet - you’ll hang my
browser.

My advice, it’s not a job for FW so don’t reinvent the wheel as there are
numerous scripts out there to do this already and they are well-tested -
many of them free such as http://www.tufat.com/s_milliondollarhomepage.htm

On 8 May 2013 08:38, BigG email@hidden wrote:

I have a client who want to build a site like this:
http://www.buyacredit.com/pixeladwall

Building the site in FW and managing it with Perch is no problem and
pretty straightforward.

The problems comes when displaying the avatars. They want to reach 1
million sales (proceeds going to charity), but I feel having a page with 1
million call backs to the servers is going to be too much.

So my question is, if I am able to get everything working, is there a
piece of javascript available that can be applied to the page so that only
the avatars in view are displayed rather than everyone loading?

Thanks
Nathan


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

Ha! Yes I know – a rave from the grave… not my idea I hasten to add.

Thanks for the link and advice I will check it out.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The principle you are looking for is called Lazy-loading, if you’re googling for it. Here’s an Action (apply it to the page) that will manage this for you.

http://actionsforge.com/actions/view/269-scriptylazyload

Walter

On May 8, 2013, at 3:38 AM, BigG wrote:

I have a client who want to build a site like this:
http://www.buyacredit.com/pixeladwall

Building the site in FW and managing it with Perch is no problem and pretty straightforward.

The problems comes when displaying the avatars. They want to reach 1 million sales (proceeds going to charity), but I feel having a page with 1 million call backs to the servers is going to be too much.

So my question is, if I am able to get everything working, is there a piece of javascript available that can be applied to the page so that only the avatars in view are displayed rather than everyone loading?

Thanks
Nathan


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